mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
change to remove-preset-password-warning
This commit is contained in:
parent
48efdcf1f0
commit
d4f3a87276
@ -3301,11 +3301,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) {
|
||||||
final idServer =
|
if (bind.mainGetLocalOption(key: "remove-preset-password-warning") ==
|
||||||
bind.mainGetOptionSync(key: 'custom-rendezvous-server');
|
'Y') {
|
||||||
if (idServer.isNotEmpty &&
|
|
||||||
bind.mainGetLocalOption(key: "remove-preset-password-warning-of") ==
|
|
||||||
idServer) {
|
|
||||||
return SizedBox.shrink();
|
return SizedBox.shrink();
|
||||||
}
|
}
|
||||||
return Container(
|
return Container(
|
||||||
|
Loading…
Reference in New Issue
Block a user