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) { } else if (itemId == R.id.menu_export) {
onMenuVcard(true); onMenuVcard(true);
return true; return true;
} else if (itemId == R.id.menu_delete) { } else if (itemId == R.id.menu_delete_all) {
onMenuDelete(); onMenuDeleteAll();
return true; return true;
} }
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
@ -242,7 +242,7 @@ public class FragmentContacts extends FragmentBase {
fragment.show(getParentFragmentManager(), "messages:accounts"); fragment.show(getParentFragmentManager(), "messages:accounts");
} }
private void onMenuDelete() { private void onMenuDeleteAll() {
new FragmentDelete().show(getParentFragmentManager(), "contacts:delete"); new FragmentDelete().show(getParentFragmentManager(), "contacts:delete");
} }

@ -31,8 +31,8 @@
android:title="@string/title_export_contacts" /> android:title="@string/title_export_contacts" />
<item <item
android:id="@+id/menu_delete" android:id="@+id/menu_delete_all"
android:icon="@drawable/twotone_delete_24" android:icon="@drawable/twotone_delete_24"
android:title="@string/title_delete" android:title="@string/title_delete_all"
app:showAsAction="ifRoom" /> app:showAsAction="ifRoom" />
</menu> </menu>

@ -1118,6 +1118,7 @@
<string name="title_copy_to">Copy to &#8230;</string> <string name="title_copy_to">Copy to &#8230;</string>
<string name="title_subscribe">Subscribe</string> <string name="title_subscribe">Subscribe</string>
<string name="title_delete">Delete</string> <string name="title_delete">Delete</string>
<string name="title_delete_all">Delete all</string>
<string name="title_more">More</string> <string name="title_more">More</string>
<string name="title_less">Less</string> <string name="title_less">Less</string>
<string name="title_spam">Spam</string> <string name="title_spam">Spam</string>

Loading…
Cancel
Save