mirror of
https://github.com/immich-app/immich.git
synced 2025-11-21 21:40:41 +09:00
fix: fallback auto grouping to day grouping (#20156)
fallback auto grouping to day grouping Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
@@ -35,7 +35,8 @@ class FixedSegmentBuilder extends SegmentBuilder {
|
||||
|
||||
final timelineHeader = switch (groupBy) {
|
||||
GroupAssetsBy.month => HeaderType.month,
|
||||
GroupAssetsBy.day =>
|
||||
GroupAssetsBy.day ||
|
||||
GroupAssetsBy.auto =>
|
||||
bucket is TimeBucket && bucket.date.month != previousDate?.month
|
||||
? HeaderType.monthAndDay
|
||||
: HeaderType.day,
|
||||
|
||||
Reference in New Issue
Block a user