Skip to content

Commit

Permalink
fix: Continue and Cancel button's strings in permission dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
GabM3 authored and SimoneBressan committed Oct 19, 2023
1 parent 9dd530c commit 8544be5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 0.2.2
> 2023-10-19
- fix: `Continue` and `Cancel` button's strings in permission dialog

## 0.2.1
> 2023-08-11
- feat: update Dio version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class ConfirmAllowPermissionsDialog<TPermissionBloc extends PermissionBloc>
actions: [
TextButton(
onPressed: state.canRequest ? () => permissionBloc.confirmRequest(false) : null,
child: notAllowLabel ?? const Text('Not allow'),
child: notAllowLabel ?? const Text('Cancel'),
),
ElevatedButton(
onPressed: state.canRequest ? () => permissionBloc.confirmRequest(true) : null,
child: allowLabel ?? const Text('Allow'),
child: allowLabel ?? const Text('Continue'),
),
],
),
Expand Down Expand Up @@ -130,7 +130,7 @@ class OrderAllowPermissionDialog<TPermissionBloc extends PermissionBloc> extends
onPressed: _delegateMainButtonPress(context, permissionBloc, state),
child: state.isPermanentlyDenied
? settingsLabel ?? const Text('Settings')
: allowLabel ?? const Text('Allow'),
: allowLabel ?? const Text('Continue'),
),
],
);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: kuama_flutter
description: A new Flutter project.
version: 0.2.1
version: 0.2.2
publish_to: 'none'

environment:
Expand Down

0 comments on commit 8544be5

Please sign in to comment.