mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-01 09:59:19 +08:00
fix issue #2937
This commit is contained in:
parent
e124cfb8cd
commit
917b3d2213
@ -323,10 +323,10 @@ class ServerModel with ChangeNotifier {
|
||||
notifyListeners();
|
||||
parent.target?.ffiModel.updateEventListener("");
|
||||
await parent.target?.invokeMethod("init_service");
|
||||
// ugly is here, because for desktop, below is useless
|
||||
await bind.mainStartService();
|
||||
updateClientState();
|
||||
if (!Platform.isLinux) {
|
||||
// current linux is not supported
|
||||
if (Platform.isAndroid) {
|
||||
Wakelock.enable();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user