detail: fix genre menu crash

Fix a crash when opening the genre menu.
This commit is contained in:
Alexander Capehart 2022-11-15 20:49:28 -07:00
parent dffa3dc34e
commit b3cf76089a
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -126,8 +126,6 @@ class GenreDetailFragment :
if (item is Song) {
musicMenu(anchor, R.menu.menu_song_actions, item)
}
error("Unexpected datatype when opening menu: ${item::class.java}")
}
override fun onPlayParent() {