detail: fix genre menu crash
Fix a crash when opening the genre menu.
This commit is contained in:
@@ -126,8 +126,6 @@ class GenreDetailFragment :
|
|||||||
if (item is Song) {
|
if (item is Song) {
|
||||||
musicMenu(anchor, R.menu.menu_song_actions, item)
|
musicMenu(anchor, R.menu.menu_song_actions, item)
|
||||||
}
|
}
|
||||||
|
|
||||||
error("Unexpected datatype when opening menu: ${item::class.java}")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onPlayParent() {
|
override fun onPlayParent() {
|
||||||
|
|||||||
Reference in New Issue
Block a user