From ed3a3869848a29826ed885311efd78f87235c721 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 4 Dec 2016 23:21:47 +0100 Subject: [PATCH] invalidate the actionbar at viewpager update --- .../simplemobiletools/gallery/activities/ViewPagerActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt index af089265c..27a9f09f3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/ViewPagerActivity.kt @@ -257,6 +257,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View updateActionbarTitle() updatePagerItems() + invalidateOptionsMenu() }.execute() }