fix issue #2937
This commit is contained in:
parent
e124cfb8cd
commit
917b3d2213
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue