From 82befc4df001fd0c60d598384d0fca8398e98fdb Mon Sep 17 00:00:00 2001 From: orz12 Date: Sun, 2 Jun 2024 14:39:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/utils.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/utils/utils.dart b/lib/utils/utils.dart index dc1b9d34..427f6507 100644 --- a/lib/utils/utils.dart +++ b/lib/utils/utils.dart @@ -350,8 +350,8 @@ class Utils { }, child: Text( "点此查看完整更新(即commit)内容", - style: - TextStyle(color: Theme.of(context).colorScheme.primary), + style: TextStyle( + color: Theme.of(context).colorScheme.primary), )), ], ), @@ -361,7 +361,7 @@ class Utils { TextButton( onPressed: () { setting.put(SettingBoxKey.autoUpdate, false); - Get.back(); + SmartDialog.dismiss(); }, child: Text( '不再提醒', @@ -370,7 +370,7 @@ class Utils { ), ), TextButton( - onPressed: () => Get.back(), + onPressed: () => SmartDialog.dismiss(), child: Text( '取消', style: