Refresh bookmark icon on resume

This commit is contained in:
Abdul Wadood 2018-07-17 14:58:55 +05:30 committed by Isaac Hutt
parent 37c17f1fd8
commit e35d4a90e8

View File

@ -1219,7 +1219,7 @@ public class MainActivity extends BaseActivity implements WebViewCallback,
refresh = false; refresh = false;
recreate(); recreate();
} }
refreshBookmarkSymbol(); presenter.loadCurrentZimBookmarksUrl();
if (getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE) { if (getResources().getConfiguration().orientation == ORIENTATION_LANDSCAPE) {
if (menu != null) { if (menu != null) {
menu.getItem(4).setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS); menu.getItem(4).setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);