mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-16 13:55:03 -05:00
parent
3c0b97f280
commit
583467356c
@ -82,6 +82,9 @@ public class AccountSettingsActivity extends ActionBarActivity {
|
|||||||
case R.id.menu_account_settings_delete:
|
case R.id.menu_account_settings_delete:
|
||||||
deleteAccount();
|
deleteAccount();
|
||||||
return true;
|
return true;
|
||||||
|
case R.id.menu_account_settings_cancel:
|
||||||
|
finish();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,9 @@
|
|||||||
android:id="@+id/menu_account_settings_delete"
|
android:id="@+id/menu_account_settings_delete"
|
||||||
android:title="@string/api_settings_delete_account"
|
android:title="@string/api_settings_delete_account"
|
||||||
app:showAsAction="never" />
|
app:showAsAction="never" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/menu_account_settings_cancel"
|
||||||
|
android:title="@string/api_settings_cancel"
|
||||||
|
app:showAsAction="never" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
Loading…
Reference in New Issue
Block a user