Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

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

rustdesk9e931a6f04a1
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(