mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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:
parent
02688a2a03
commit
79157e1043
4 changed files with 11 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue