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(
|
child: Text(
|
||||||
"点此查看完整更新(即commit)内容",
|
"点此查看完整更新(即commit)内容",
|
||||||
style:
|
style: TextStyle(
|
||||||
TextStyle(color: Theme.of(context).colorScheme.primary),
|
color: Theme.of(context).colorScheme.primary),
|
||||||
)),
|
)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@@ -361,7 +361,7 @@ class Utils {
|
|||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
setting.put(SettingBoxKey.autoUpdate, false);
|
setting.put(SettingBoxKey.autoUpdate, false);
|
||||||
Get.back();
|
SmartDialog.dismiss();
|
||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'不再提醒',
|
'不再提醒',
|
||||||
@@ -370,7 +370,7 @@ class Utils {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Get.back(),
|
onPressed: () => SmartDialog.dismiss(),
|
||||||
child: Text(
|
child: Text(
|
||||||
'取消',
|
'取消',
|
||||||
style:
|
style:
|
||||||
|
|||||||
Reference in New Issue
Block a user