mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 06:42:21 -04:00
parent
1dc61691dc
commit
4760510aa2
@ -1565,6 +1565,19 @@ public class KiwixMobileActivity extends BaseActivity implements WebViewCallback
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onMenuOpened(int featureId, Menu menu) {
|
||||||
|
if (drawerLayout.isDrawerOpen(tabDrawerLeftContainer)) {
|
||||||
|
drawerLayout.closeDrawer(tabDrawerLeftContainer);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (drawerLayout.isDrawerOpen(tableDrawerRightContainer)) {
|
||||||
|
drawerLayout.closeDrawer(tableDrawerRightContainer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.onMenuOpened(featureId, menu);
|
||||||
|
}
|
||||||
|
|
||||||
// This method refreshes the menu for the bookmark system.
|
// This method refreshes the menu for the bookmark system.
|
||||||
@Override
|
@Override
|
||||||
public boolean onPrepareOptionsMenu(Menu menu) {
|
public boolean onPrepareOptionsMenu(Menu menu) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user