mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
@@ -54,7 +54,7 @@ class WebDav {
|
||||
: 'piliplus_settings_phone.json';
|
||||
}
|
||||
|
||||
Future backup() async {
|
||||
Future<void> backup() async {
|
||||
if (_client == null) {
|
||||
final res = await init();
|
||||
if (res.first == false) {
|
||||
@@ -76,7 +76,7 @@ class WebDav {
|
||||
}
|
||||
}
|
||||
|
||||
Future restore() async {
|
||||
Future<void> restore() async {
|
||||
if (_client == null) {
|
||||
final res = await init();
|
||||
if (res.first == false) {
|
||||
|
||||
Reference in New Issue
Block a user