Merge pull request #4643 from SeannyM/settings-saving
Android: Change Exit Without Saving to Save and Exit
This commit is contained in:
commit
a3bef102b7
|
@ -91,8 +91,7 @@ public final class SettingsActivityPresenter
|
|||
{
|
||||
switch (itemId)
|
||||
{
|
||||
case R.id.menu_exit_no_save:
|
||||
mShouldSave = false;
|
||||
case R.id.menu_save_exit:
|
||||
mView.finish();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_exit_no_save"
|
||||
android:title="@string/preferences_exit_no_save"
|
||||
android:icon="@drawable/ic_cancel"
|
||||
android:id="@+id/menu_save_exit"
|
||||
android:title="@string/preferences_save_exit"
|
||||
android:icon="@drawable/ic_quicksave"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
</menu>
|
|
@ -199,7 +199,7 @@
|
|||
<string name="add_directory_empty_folder">That folder is empty.</string>
|
||||
|
||||
<!-- Preferences Screen -->
|
||||
<string name="preferences_exit_no_save">Exit Without Saving</string>
|
||||
<string name="preferences_save_exit">Save and Exit</string>
|
||||
<string name="preferences_settings">Settings</string>
|
||||
<string name="preferences_extensions">Extension Bindings</string>
|
||||
|
||||
|
|
Loading…
Reference in New Issue