mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Update menu after rotation on detail view
Fixes losing the 'failed' vs 'ok' upload state in the menus on rotation in Android 2.3.
This commit is contained in:
parent
cf86dc918c
commit
43a6551d6e
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ public class MediaDetailPagerFragment extends SherlockFragment implements ViewPa
|
|||
view.postDelayed(new Runnable() {
|
||||
public void run() {
|
||||
pager.setCurrentItem(pageNumber, false);
|
||||
getSherlockActivity().supportInvalidateOptionsMenu();
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue