mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
opt: more linter (#1765)
* opt: more linter * fix [skip ci] Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
3787f99d35
commit
773bdafec3
@@ -64,7 +64,7 @@ class WebDav {
|
||||
Future<void> backup() async {
|
||||
if (_client == null) {
|
||||
final res = await init();
|
||||
if (res.first == false) {
|
||||
if (!res.first) {
|
||||
SmartDialog.showToast('备份失败,请检查配置: ${res.second}');
|
||||
return;
|
||||
}
|
||||
@@ -86,7 +86,7 @@ class WebDav {
|
||||
Future<void> restore() async {
|
||||
if (_client == null) {
|
||||
final res = await init();
|
||||
if (res.first == false) {
|
||||
if (!res.first) {
|
||||
SmartDialog.showToast('恢复失败,请检查配置: ${res.second}');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user