diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 0c46836e4..759a30639 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -3307,8 +3307,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") == - 'Y') { + if (bind.mainGetLocalOption(key: "remove-preset-password-warning") != + 'N') { return SizedBox.shrink(); } return Container(