细节修改
This commit is contained in:
parent
bda045eb9e
commit
db27f7347a
@ -44,7 +44,7 @@ class UpgradeDialog extends StatelessWidget {
|
|||||||
onPressed: onConfirm,
|
onPressed: onConfirm,
|
||||||
child: Text("立即更新"),
|
child: Text("立即更新"),
|
||||||
),
|
),
|
||||||
if (force)
|
if (!force)
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => Navigator.pop(context),
|
onPressed: () => Navigator.pop(context),
|
||||||
child: Text("暂不更新"),
|
child: Text("暂不更新"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user