mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Update
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user