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();
|
closeDrawers();
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMenu() {
|
||||||
|
return R.menu.incognito;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,11 @@ public class MainActivity extends BrowserActivity {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMenu() {
|
||||||
|
return R.menu.main;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void closeActivity() {
|
public void closeActivity() {
|
||||||
closeDrawers();
|
closeDrawers();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user