mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 更新弹窗无法关闭
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user