change remove-preset-password-warning default value to Y
This commit is contained in:
parent
f0587796e2
commit
9e931a6f04
@ -3307,8 +3307,8 @@ Widget buildPresetPasswordWarning() {
|
|||||||
return Text(
|
return Text(
|
||||||
'Error: ${snapshot.error}'); // Show an error message if the Future completed with an error
|
'Error: ${snapshot.error}'); // Show an error message if the Future completed with an error
|
||||||
} else if (snapshot.hasData && snapshot.data == true) {
|
} else if (snapshot.hasData && snapshot.data == true) {
|
||||||
if (bind.mainGetLocalOption(key: "remove-preset-password-warning") ==
|
if (bind.mainGetLocalOption(key: "remove-preset-password-warning") !=
|
||||||
'Y') {
|
'N') {
|
||||||
return SizedBox.shrink();
|
return SizedBox.shrink();
|
||||||
}
|
}
|
||||||
return Container(
|
return Container(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user