mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
fix: custom client, option to bool (#8303)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -226,8 +226,7 @@ class ServerModel with ChangeNotifier {
|
||||
_approveMode = approveMode;
|
||||
update = true;
|
||||
}
|
||||
var stopped = option2bool(
|
||||
"stop-service", await bind.mainGetOption(key: "stop-service"));
|
||||
var stopped = await mainGetBoolOption(kOptionStopService);
|
||||
final oldPwdText = _serverPasswd.text;
|
||||
if (stopped ||
|
||||
verificationMethod == kUsePermanentPassword ||
|
||||
|
||||
Reference in New Issue
Block a user