Browse Source

Activities now return correct menus that can be utilized by the toolbar

master
Anthony Restaino 10 years ago
parent
commit
7b8088f3d4
  1. 5
      src/acr/browser/lightning/IncognitoActivity.java
  2. 5
      src/acr/browser/lightning/MainActivity.java

5
src/acr/browser/lightning/IncognitoActivity.java

@ -73,4 +73,9 @@ public class IncognitoActivity extends BrowserActivity {
closeDrawers(); closeDrawers();
finish(); finish();
} }
@Override
public int getMenu() {
return R.menu.incognito;
}
} }

5
src/acr/browser/lightning/MainActivity.java

@ -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…
Cancel
Save