Fix search favorites tags expand button breaking when activity is recreated
Fix #596
This commit is contained in:
parent
33645ec547
commit
2492e22f6f
@ -14,7 +14,6 @@ class SearchFavoritesVM : FavoritesVM() {
|
|||||||
private val uiState: UiState by inject()
|
private val uiState: UiState by inject()
|
||||||
|
|
||||||
override val tagsExpanded: Flow<Boolean> = uiState.favoritesTagsExpanded
|
override val tagsExpanded: Flow<Boolean> = uiState.favoritesTagsExpanded
|
||||||
.shareIn(viewModelScope, SharingStarted.Lazily)
|
|
||||||
|
|
||||||
override fun setTagsExpanded(expanded: Boolean) {
|
override fun setTagsExpanded(expanded: Boolean) {
|
||||||
uiState.setFavoritesTagsExpanded(expanded)
|
uiState.setFavoritesTagsExpanded(expanded)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user