[Android] Fix display of delete history icon when loading history
Nicolas Pomepuy
git at videolan.org
Tue Aug 13 10:17:13 CEST 2019
vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Aug 12 12:06:36 2019 +0200| [89da6bf3f3328059d0faff83f09a15bec14f82e9] | committer: Nicolas Pomepuy
Fix display of delete history icon when loading history
> https://code.videolan.org/videolan/vlc-android/commit/89da6bf3f3328059d0faff83f09a15bec14f82e9
---
vlc-android/src/org/videolan/vlc/gui/HistoryFragment.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.kt b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.kt
index ca6e2bf6f..ee5b8d111 100644
--- a/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/HistoryFragment.kt
@@ -101,6 +101,7 @@ class HistoryFragment : MediaBrowserFragment<HistoryModel>(), IRefreshable, IHis
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
inflater.inflate(R.menu.fragment_option_history, menu)
super.onCreateOptionsMenu(menu, inflater)
+ activity?.invalidateOptionsMenu()
}
override fun onPrepareOptionsMenu(menu: Menu) {
More information about the Android
mailing list