mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 13:01:28 +03:00
fix: custom client, option to bool (#8303)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -671,7 +671,7 @@ class _DesktopHomePageState extends State<DesktopHomePage>
|
||||
systemError = error;
|
||||
setState(() {});
|
||||
}
|
||||
final v = await bind.mainGetOption(key: "stop-service") == "Y";
|
||||
final v = await mainGetBoolOption(kOptionStopService);
|
||||
if (v != svcStopped.value) {
|
||||
svcStopped.value = v;
|
||||
setState(() {});
|
||||
|
||||
Reference in New Issue
Block a user