mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 01:11:46 +03:00
chore(mobile): don't show drag scroll date in search page (#17594)
Dont show drag scroll date in search page * When using the drag scroll, the date of the current image is shown. This is now made toggleable. * For the mobile search result page, the display of the date is now disabled because the results are not sorted by date and therefore a display of the date is not desirable.
This commit is contained in:
@@ -32,6 +32,7 @@ class ImmichAssetGrid extends HookConsumerWidget {
|
||||
final Widget? topWidget;
|
||||
final bool shrinkWrap;
|
||||
final bool showDragScroll;
|
||||
final bool showDragScrollLabel;
|
||||
final bool showStack;
|
||||
|
||||
const ImmichAssetGrid({
|
||||
@@ -52,6 +53,7 @@ class ImmichAssetGrid extends HookConsumerWidget {
|
||||
this.topWidget,
|
||||
this.shrinkWrap = false,
|
||||
this.showDragScroll = true,
|
||||
this.showDragScrollLabel = true,
|
||||
this.showStack = false,
|
||||
});
|
||||
|
||||
@@ -119,6 +121,7 @@ class ImmichAssetGrid extends HookConsumerWidget {
|
||||
shrinkWrap: shrinkWrap,
|
||||
showDragScroll: showDragScroll,
|
||||
showStack: showStack,
|
||||
showLabel: showDragScrollLabel,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user