diff --git a/lib/services/patcher_api.dart b/lib/services/patcher_api.dart index 48a431e1..da6db552 100644 --- a/lib/services/patcher_api.dart +++ b/lib/services/patcher_api.dart @@ -335,13 +335,14 @@ class PatcherAPI { Navigator.pop(context); }, child: I18nText('cancelButton'), + ) + else + TextButton( + onPressed: () { + Navigator.pop(context); + }, + child: I18nText('cancelButton'), ), - TextButton( - onPressed: () { - Navigator.pop(context); - }, - child: I18nText('cancelButton'), - ), if (isFixable) FilledButton( onPressed: () async {