#1612 info: show matching dynamic albums
This commit is contained in:
parent
d272c82454
commit
edbf9744f5
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## <a id="unreleased"></a>[Unreleased]
|
## <a id="unreleased"></a>[Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Info: show matching dynamic albums
|
||||||
|
|
||||||
## <a id="v1.13.2"></a>[v1.13.2] - 2025-06-02
|
## <a id="v1.13.2"></a>[v1.13.2] - 2025-06-02
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import 'package:aves/app_mode.dart';
|
import 'package:aves/app_mode.dart';
|
||||||
import 'package:aves/image_providers/app_icon_image_provider.dart';
|
import 'package:aves/image_providers/app_icon_image_provider.dart';
|
||||||
import 'package:aves/model/app_inventory.dart';
|
import 'package:aves/model/app_inventory.dart';
|
||||||
|
import 'package:aves/model/dynamic_albums.dart';
|
||||||
import 'package:aves/model/entry/entry.dart';
|
import 'package:aves/model/entry/entry.dart';
|
||||||
import 'package:aves/model/entry/extensions/favourites.dart';
|
import 'package:aves/model/entry/extensions/favourites.dart';
|
||||||
import 'package:aves/model/entry/extensions/multipage.dart';
|
import 'package:aves/model/entry/extensions/multipage.dart';
|
||||||
|
@ -133,6 +134,7 @@ class _BasicSectionState extends State<BasicSection> {
|
||||||
if (entry.isPureVideo && !entry.is360) MimeFilter.video,
|
if (entry.isPureVideo && !entry.is360) MimeFilter.video,
|
||||||
if (dateTime != null) ...[DateFilter(DateLevel.ymd, dateTime.date), WeekDayFilter(dateTime.weekday)],
|
if (dateTime != null) ...[DateFilter(DateLevel.ymd, dateTime.date), WeekDayFilter(dateTime.weekday)],
|
||||||
if (album != null) StoredAlbumFilter(album, collection?.source.getStoredAlbumDisplayName(context, album)),
|
if (album != null) StoredAlbumFilter(album, collection?.source.getStoredAlbumDisplayName(context, album)),
|
||||||
|
...dynamicAlbums.all.where((v) => v.test(entry)).toSet(),
|
||||||
if (entry.rating != 0) RatingFilter(entry.rating),
|
if (entry.rating != 0) RatingFilter(entry.rating),
|
||||||
...tags.map(TagFilter.new),
|
...tags.map(TagFilter.new),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue