mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 02:01:28 +03:00
change remove-preset-password-warning default value to Y
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user