remove stupid logic

This commit is contained in:
rustdesk 2023-06-23 18:37:23 +08:00
parent 21d137f93c
commit 563a205600

View File

@ -345,13 +345,6 @@ class _ConnectionPageState extends State<ConnectionPage>
} else {
stateGlobal.svcStatus.value = SvcStatus.notReady;
}
if (stateGlobal.svcStatus.value != SvcStatus.ready) {
gFFI.userModel.isAdmin.value = false;
gFFI.groupModel.reset();
}
if (preStatus != stateGlobal.svcStatus.value) {
UserModel.updateOtherModels();
}
svcIsUsingPublicServer.value = await bind.mainIsUsingPublicServer();
}
}