feat: Add a confirmation dialog to update Manager button

This commit is contained in:
Alberto Ponces
2022-09-07 13:03:54 +01:00
parent 351b04dd46
commit 80eeafaf2b
5 changed files with 40 additions and 13 deletions

View File

@ -144,10 +144,10 @@ class _PatchItemState extends State<PatchItem> {
return showDialog(
context: context,
builder: (context) => AlertDialog(
title: I18nText('patchItem.alertDialogTitle'),
title: I18nText('patchItem.unsupportedDialogTitle'),
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
content: I18nText(
'patchItem.alertDialogText',
'patchItem.unsupportedDialogText',
translationParams: {
'packageVersion': widget.packageVersion,
'supportedVersions':