pull/194/merge
M66B 3 years ago
parent 0b6fe99183
commit 3c55af0552

@ -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 &#8230;</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…
Cancel
Save