change remove-preset-password-warning default value to Y

This commit is contained in:
rustdesk committed 2024-07-17 21:17:54 +08:00
1 parent f0587796e2
commit 9e931a6f04
1 file changed
+2 -2
+2 -2
View File
@@ -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(