File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/kotlin/me/proxer/app/media/list Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ class MediaListSearchBottomSheet private constructor(
93
93
94
94
viewModel.loadTags()
95
95
96
- viewModel.genreData.observe(fragment, Observer {
96
+ viewModel.genreData.observe(fragment.viewLifecycleOwner , Observer {
97
97
if (it != null ) {
98
98
val items = it.map { tag -> ExpandableSelectionView .Item (tag.name, tag.description) }
99
99
@@ -105,7 +105,7 @@ class MediaListSearchBottomSheet private constructor(
105
105
}
106
106
})
107
107
108
- viewModel.tagData.observe(fragment, Observer {
108
+ viewModel.tagData.observe(fragment.viewLifecycleOwner , Observer {
109
109
if (it != null ) {
110
110
val items = it.map { tag -> ExpandableSelectionView .Item (tag.name, tag.description) }
111
111
You can’t perform that action at this time.
0 commit comments