This commit is contained in:
2023-09-01 21:45:09 +08:00
parent 09a950486b
commit 93db87eac1
7 changed files with 99 additions and 15 deletions

View File

@@ -15,6 +15,12 @@ class AuthInfo {
bool _checked = false;
bool get checked => _checked;
void clear() {
_user = null;
_status = null;
_checked = false;
}
Future<void> getServerStatus() async {
_status = (await api.getStatus()).unwrap();
}