mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Re-ordered dialog options
This commit is contained in:
committed by
Moez Bhatti
parent
cb4b17a7b5
commit
14ac1585aa
+5
-5
@@ -51,9 +51,9 @@ public class ConversationListFragment extends QKFragment implements LoaderManage
|
||||
private final int MENU_VIEW_DETAILS = 3;
|
||||
private final int MENU_MARK_READ = 4;
|
||||
private final int MENU_MARK_UNREAD = 5;
|
||||
private final int MENU_DELETE_CONVERSATION = 6;
|
||||
private final int MENU_MULTI_SELECT = 7;
|
||||
private final int MENU_DELETE_FAILED = 8;
|
||||
private final int MENU_DELETE_FAILED = 6;
|
||||
private final int MENU_DELETE_CONVERSATION = 7;
|
||||
private final int MENU_MULTI_SELECT = 8;
|
||||
|
||||
private RecyclerView mRecyclerView;
|
||||
private FloatingActionButton mFab;
|
||||
@@ -194,12 +194,12 @@ public class ConversationListFragment extends QKFragment implements LoaderManage
|
||||
dialog.addMenuItem(R.string.menu_notification_settings, MENU_NOTIFICATION_SETTINGS);
|
||||
dialog.addMenuItem(R.string.menu_view_details, MENU_VIEW_DETAILS);
|
||||
|
||||
dialog.addMenuItem(R.string.menu_delete_conversation, MENU_DELETE_CONVERSATION);
|
||||
|
||||
if (conversation.hasError()) {
|
||||
dialog.addMenuItem(R.string.delete_all_failed, MENU_DELETE_FAILED);
|
||||
}
|
||||
|
||||
dialog.addMenuItem(R.string.menu_delete_conversation, MENU_DELETE_CONVERSATION);
|
||||
|
||||
dialog.buildMenu(new AdapterView.OnItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
|
||||
Reference in New Issue
Block a user