buildin options and add to mobile (#8759)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-07-19 23:55:52 +08:00 committed by GitHub
parent 85ded0a3e5
commit 2b54a553c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 114 additions and 38 deletions

View file

@ -3319,7 +3319,8 @@ Widget buildPresetPasswordWarning() {
return Text(
'Error: ${snapshot.error}'); // Show an error message if the Future completed with an error
} else if (snapshot.hasData && snapshot.data == true) {
if (bind.mainGetLocalOption(key: "remove-preset-password-warning") !=
if (bind.mainGetBuildinOption(
key: kOptionRemovePresetPasswordWarning) !=
'N') {
return SizedBox.shrink();
}