detail: fix genre menu crash
Fix a crash when opening the genre menu.
This commit is contained in:
parent
dffa3dc34e
commit
b3cf76089a
1 changed files with 0 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue