mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: fix redundant buttons on dialog
Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
parent
cf1afddb9e
commit
079c0defaf
1 changed files with 7 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue