mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Bug fix
This commit is contained in:
@@ -15,8 +15,7 @@ class HomePage extends HookWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
tryInitApi(context);
|
||||
if (!auth.isAuthed) {
|
||||
if (tryInitApi(context) && !auth.isAuthed && !auth.checked) {
|
||||
auth.checkAuth().then((re) {
|
||||
if (!re) {
|
||||
if (auth.status!.noUser &&
|
||||
|
||||
Reference in New Issue
Block a user