mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
change remove-preset-password-warning default value to Y
This commit is contained in:
parent
f0587796e2
commit
9e931a6f04
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue