mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Delete all
This commit is contained in:
parent
0b6fe99183
commit
3c55af0552
3 changed files with 6 additions and 5 deletions
|
@ -213,8 +213,8 @@ public class FragmentContacts extends FragmentBase {
|
|||
} else if (itemId == R.id.menu_export) {
|
||||
onMenuVcard(true);
|
||||
return true;
|
||||
} else if (itemId == R.id.menu_delete) {
|
||||
onMenuDelete();
|
||||
} else if (itemId == R.id.menu_delete_all) {
|
||||
onMenuDeleteAll();
|
||||
return true;
|
||||
}
|
||||
return super.onOptionsItemSelected(item);
|
||||
|
@ -242,7 +242,7 @@ public class FragmentContacts extends FragmentBase {
|
|||
fragment.show(getParentFragmentManager(), "messages:accounts");
|
||||
}
|
||||
|
||||
private void onMenuDelete() {
|
||||
private void onMenuDeleteAll() {
|
||||
new FragmentDelete().show(getParentFragmentManager(), "contacts:delete");
|
||||
}
|
||||
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
android:title="@string/title_export_contacts" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_delete"
|
||||
android:id="@+id/menu_delete_all"
|
||||
android:icon="@drawable/twotone_delete_24"
|
||||
android:title="@string/title_delete"
|
||||
android:title="@string/title_delete_all"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
|
@ -1118,6 +1118,7 @@
|
|||
<string name="title_copy_to">Copy to …</string>
|
||||
<string name="title_subscribe">Subscribe</string>
|
||||
<string name="title_delete">Delete</string>
|
||||
<string name="title_delete_all">Delete all</string>
|
||||
<string name="title_more">More</string>
|
||||
<string name="title_less">Less</string>
|
||||
<string name="title_spam">Spam</string>
|
||||
|
|
Loading…
Reference in a new issue