mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
fix: 在没有根用户的情况下无法接收到任务管理器更新
This commit is contained in:
@@ -140,6 +140,10 @@ class AuthInfo {
|
|||||||
}
|
}
|
||||||
_checked = true;
|
_checked = true;
|
||||||
await getServerStatus();
|
await getServerStatus();
|
||||||
|
if (noUser == true) {
|
||||||
|
if (!tasks.inited) tasks.init();
|
||||||
|
await tasks.connect();
|
||||||
|
}
|
||||||
return re.ok;
|
return re.ok;
|
||||||
} finally {
|
} finally {
|
||||||
_isChecking = false;
|
_isChecking = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user