From 9e931a6f04a1f00982a2df5b8f63d9e827feb0d0 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 17 Jul 2024 21:17:54 +0800 Subject: [PATCH] change remove-preset-password-warning default value to Y --- flutter/lib/common.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(