#268 fixed loading group custom covers
This commit is contained in:
parent
9a377ed7bc
commit
bae6d2b7c4
3 changed files with 1 additions and 4 deletions
|
@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
- opening home when launching app as media picker
|
- opening home when launching app as media picker
|
||||||
- removing groups with obsolete albums
|
- removing groups with obsolete albums
|
||||||
|
- loading group custom covers
|
||||||
|
|
||||||
## <a id="v1.13.1"></a>[v1.13.1] - 2025-05-14
|
## <a id="v1.13.1"></a>[v1.13.1] - 2025-05-14
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@ class SetAndFilter extends CollectionFilter with ContainerFilter {
|
||||||
|
|
||||||
static SetAndFilter? fromMap(Map<String, dynamic> json) {
|
static SetAndFilter? fromMap(Map<String, dynamic> json) {
|
||||||
final filters = (json['filters'] as List).cast<String>().map(CollectionFilter.fromJson).nonNulls.toSet();
|
final filters = (json['filters'] as List).cast<String>().map(CollectionFilter.fromJson).nonNulls.toSet();
|
||||||
if (filters.isEmpty) return null;
|
|
||||||
|
|
||||||
return SetAndFilter(
|
return SetAndFilter(
|
||||||
filters,
|
filters,
|
||||||
reversed: json['reversed'] ?? false,
|
reversed: json['reversed'] ?? false,
|
||||||
|
|
|
@ -38,8 +38,6 @@ class SetOrFilter extends CollectionFilter with ContainerFilter {
|
||||||
|
|
||||||
static SetOrFilter? fromMap(Map<String, dynamic> json) {
|
static SetOrFilter? fromMap(Map<String, dynamic> json) {
|
||||||
final filters = (json['filters'] as List).cast<String>().map(CollectionFilter.fromJson).nonNulls.toSet();
|
final filters = (json['filters'] as List).cast<String>().map(CollectionFilter.fromJson).nonNulls.toSet();
|
||||||
if (filters.isEmpty) return null;
|
|
||||||
|
|
||||||
return SetOrFilter(
|
return SetOrFilter(
|
||||||
filters,
|
filters,
|
||||||
reversed: json['reversed'] ?? false,
|
reversed: json['reversed'] ?? false,
|
||||||
|
|
Loading…
Reference in a new issue