Skip to content

Commit

Permalink
chore: upgraded app_settings to 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki committed Nov 17, 2023
1 parent 0ddd5c6 commit 0ee7c1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions packages/smooth_app/lib/pages/image_crop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,11 @@ Future<bool?> _onGalleryAccessDenied(final BuildContext context) {
appLocalizations.gallery_source_access_denied_dialog_message_ios,
positiveAction: SmoothActionButton(
text: appLocalizations.gallery_source_access_denied_dialog_button,
onPressed: () {
AppSettings.openAppSettings(callback: () {
if (context.mounted) {
Navigator.of(context).maybePop(true);
}
});
onPressed: () async {
await AppSettings.openAppSettings();
if (context.mounted) {
Navigator.of(context).maybePop(true);
}
},
),
negativeAction: SmoothActionButton(
Expand Down
4 changes: 2 additions & 2 deletions packages/smooth_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ packages:
dependency: "direct main"
description:
name: app_settings
sha256: "66715a323ac36d6c8201035ba678777c0d2ea869e4d7064300d95af10c3bb8cb"
sha256: "09bc7fe0313a507087bec1a3baf555f0576e816a760cbb31813a88890a09d9e5"
url: "https://pub.dev"
source: hosted
version: "4.2.0"
version: "5.1.1"
app_store_apple_store:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
url_launcher: 6.1.3
visibility_detector: 0.4.0+2
assorted_layout_widgets: 8.0.5
app_settings: 4.2.0
app_settings: 5.1.1
diacritic: 0.1.4
app_store_shared:
path: ../app_store/shared
Expand Down

0 comments on commit 0ee7c1a

Please sign in to comment.