Activities now return correct menus that can be utilized by the toolbar
This commit is contained in:
parent
762fe5b55b
commit
7b8088f3d4
@ -73,4 +73,9 @@ public class IncognitoActivity extends BrowserActivity {
|
||||
closeDrawers();
|
||||
finish();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMenu() {
|
||||
return R.menu.incognito;
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,11 @@ public class MainActivity extends BrowserActivity {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMenu() {
|
||||
return R.menu.main;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void closeActivity() {
|
||||
closeDrawers();
|
||||
|
Loading…
Reference in New Issue
Block a user