Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mobile): Dismissible menus (immich-app#14192)
Browse files Browse the repository at this point in the history
* chore(mobile): make all search filters dismissible

* chore(mobile): make ImmichAppBarDialog dismissible

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2 people authored and bdavis2-PCTY committed Nov 18, 2024
1 parent 2829761 commit a2249b6
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/lib/pages/search/search.page.dart
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ class SearchPage extends HookConsumerWidget {
showFilterBottomSheet(
context: context,
isScrollControlled: true,
isDismissible: false,
isDismissible: true,
child: FilterBottomSheetScaffold(
title: 'search_filter_location_title'.tr(),
onSearch: search,
@@ -238,7 +238,7 @@ class SearchPage extends HookConsumerWidget {
showFilterBottomSheet(
context: context,
isScrollControlled: true,
isDismissible: false,
isDismissible: true,
child: FilterBottomSheetScaffold(
title: 'search_filter_camera_title'.tr(),
onSearch: search,
Original file line number Diff line number Diff line change
@@ -259,6 +259,7 @@ class ImmichAppBarDialog extends HookConsumerWidget {
}

return Dismissible(
behavior: HitTestBehavior.translucent,
direction: DismissDirection.down,
onDismissed: (_) => Navigator.of(context).pop(),
key: const Key('app_bar_dialog'),

0 comments on commit a2249b6

Please sign in to comment.