From fd6fa65e2b1c8a6dad321b9fb25ca3b7d2391d84 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 9 Mar 2025 11:13:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E6=B2=A1=E6=9C=89=E6=A0=B9?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=8E=A5=E6=94=B6=E5=88=B0=E4=BB=BB=E5=8A=A1=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/auth.dart b/lib/auth.dart index 1402458..865d410 100644 --- a/lib/auth.dart +++ b/lib/auth.dart @@ -140,6 +140,10 @@ class AuthInfo { } _checked = true; await getServerStatus(); + if (noUser == true) { + if (!tasks.inited) tasks.init(); + await tasks.connect(); + } return re.ok; } finally { _isChecking = false;