|
|
@ -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");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|