removing an unnecessary options menu invalidation call

This commit is contained in:
tibbi 2019-08-27 22:34:11 +02:00
parent 578c7ed30f
commit dd8058704f
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
val newShouldFilterBeVisible = it.size > 1 || config.displayEventTypes.isEmpty()
if (newShouldFilterBeVisible != mShouldFilterBeVisible) {
mShouldFilterBeVisible = newShouldFilterBeVisible
invalidateOptionsMenu()
}
}