mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-22 20:30:22 +00:00
Android main menu : quit choice should be last
This commit is contained in:
parent
e808dd9861
commit
d298601bbe
@ -66,17 +66,6 @@ public class Apple2MainMenu {
|
||||
mainMenu.showDisksMenu();
|
||||
}
|
||||
},
|
||||
QUIT_EMULATOR {
|
||||
@Override public String getTitle(Context ctx) {
|
||||
return ctx.getResources().getString(R.string.quit);
|
||||
}
|
||||
@Override public String getSummary(Context ctx) {
|
||||
return ctx.getResources().getString(R.string.quit_summary);
|
||||
}
|
||||
@Override public void handleSelection(Apple2MainMenu mainMenu) {
|
||||
mainMenu.mActivity.maybeQuitApp();
|
||||
}
|
||||
},
|
||||
REBOOT_EMULATOR {
|
||||
@Override public String getTitle(Context ctx) {
|
||||
return ctx.getResources().getString(R.string.reboot);
|
||||
@ -87,6 +76,17 @@ public class Apple2MainMenu {
|
||||
@Override public void handleSelection(Apple2MainMenu mainMenu) {
|
||||
mainMenu.mActivity.maybeReboot();
|
||||
}
|
||||
},
|
||||
QUIT_EMULATOR {
|
||||
@Override public String getTitle(Context ctx) {
|
||||
return ctx.getResources().getString(R.string.quit);
|
||||
}
|
||||
@Override public String getSummary(Context ctx) {
|
||||
return ctx.getResources().getString(R.string.quit_summary);
|
||||
}
|
||||
@Override public void handleSelection(Apple2MainMenu mainMenu) {
|
||||
mainMenu.mActivity.maybeQuitApp();
|
||||
}
|
||||
};
|
||||
|
||||
public abstract String getTitle(Context ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user