Commit b3df511d authored by Shivansh Saini's avatar Shivansh Saini Committed by Nicolas Pomepuy

Fixed search collapse side-effect on menu items

Signed-off-by: Shivansh Saini's avatarShivansh Saini <shivanshs9@gmail.com>
parent 1b860442
Pipeline #8890 passed with stage
in 4 minutes and 29 seconds
......@@ -180,6 +180,8 @@ open class ContentActivity : AudioPlayerContainerActivity(), SearchView.OnQueryT
searchHiddenMenuItem.forEach {
it.isVisible = true
}
searchHiddenMenuItem.clear()
invalidateOptionsMenu()
} else {
for (i in 0 until menu.size()) {
val menuItem = menu.getItem(i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment