opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 14:41:25 +08:00
parent 286193f08f
commit dd6ff101d1
63 changed files with 181 additions and 180 deletions

View File

@@ -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) {