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
@@ -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)