Skip to content

Commit

Permalink
fix: Fill the preferred action
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Sep 30, 2023
1 parent 36c86e2 commit 0492e91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ui/views/settings/settings_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ class SettingsViewModel extends BaseViewModel {
actions: [
CustomMaterialButton(
isFilled: false,
label: I18nText('noButton'),
label: I18nText('yesButton'),
onPressed: () {
_managerAPI.setChangingToggleModified(true);
_managerAPI.setPatchesChangeEnabled(true);
Navigator.of(context).pop();
},
),
CustomMaterialButton(
label: I18nText('yesButton'),
label: I18nText('noButton'),
onPressed: () {
_managerAPI.setChangingToggleModified(true);
_managerAPI.setPatchesChangeEnabled(true);
Navigator.of(context).pop();
},
),
Expand Down

0 comments on commit 0492e91

Please sign in to comment.