remove stupid logic
This commit is contained in:
parent
21d137f93c
commit
563a205600
@ -345,13 +345,6 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
} else {
|
} else {
|
||||||
stateGlobal.svcStatus.value = SvcStatus.notReady;
|
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();
|
svcIsUsingPublicServer.value = await bind.mainIsUsingPublicServer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user