mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
feature: Added option to save and set default filters for libraries (#107)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
d3e34d57e0
commit
691293648b
23 changed files with 1353 additions and 62 deletions
|
|
@ -106,7 +106,7 @@ extension ItemBaseModelExtensions on ItemBaseModel {
|
|||
)
|
||||
else if (!exclude.contains(ItemActions.showAlbum) && galleryItem)
|
||||
ItemActionButton(
|
||||
icon: Icon(FladderItemType.photoalbum.icon),
|
||||
icon: Icon(FladderItemType.photoAlbum.icon),
|
||||
action: () => (this as PhotoModel).navigateToAlbum(context),
|
||||
label: Text(context.localized.showAlbum),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ extension MapExtensions<T> on Map<T, bool> {
|
|||
|
||||
bool get hasEnabled => values.any((element) => element == true);
|
||||
|
||||
//Replaces only keys that exist with the new values
|
||||
Map<T, bool> replaceMap(Map<T, bool> oldMap) {
|
||||
Map<T, bool> result = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue