Fix custom labels and sorting in pinned tags

This commit is contained in:
MM20 2022-09-23 23:25:35 +02:00
parent 4c2324ff59
commit bc66b242de
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -75,7 +75,10 @@ open class FavoritesVM : ViewModel(), KoinComponent {
}
}
} else {
customAttributesRepository.getItemsForTag(tag)
customAttributesRepository
.getItemsForTag(tag)
.withCustomLabels(customAttributesRepository)
.map { it.sorted() }
}
}.shareIn(viewModelScope, SharingStarted.WhileSubscribed(), replay = 1)