dialog clickMaskDismiss

This commit is contained in:
csf
2022-04-20 23:43:19 +08:00
parent 9b68507683
commit f88b775af3
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -880,7 +880,7 @@ void showOptions() {
onWillPop: () async => true,
contentPadding: 0,
);
}, barrierDismissible: true);
}, clickMaskDismiss: true);
}
void showSetOSPassword(bool login) {
+1 -1
View File
@@ -248,7 +248,7 @@ void showServerSettingsWithValue(
return true;
},
);
}, barrierDismissible: true);
}, clickMaskDismiss: true);
}
String? validate(value) {
+1 -1
View File
@@ -122,7 +122,7 @@ void showAbout() {
return true;
},
);
}, barrierDismissible: true);
}, clickMaskDismiss: true);
}
Future<String> login(String name, String pass) async {