mirror of https://github.com/M66B/FairEmail.git
Refactoring
This commit is contained in:
parent
aae6d1ff0d
commit
dd21686698
|
@ -130,8 +130,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
static final String ACTION_VIEW_MESSAGES = BuildConfig.APPLICATION_ID + ".VIEW_MESSAGES";
|
static final String ACTION_VIEW_MESSAGES = BuildConfig.APPLICATION_ID + ".VIEW_MESSAGES";
|
||||||
static final String ACTION_SEARCH_ADDRESS = BuildConfig.APPLICATION_ID + ".SEARCH_ADDRESS";
|
static final String ACTION_SEARCH_ADDRESS = BuildConfig.APPLICATION_ID + ".SEARCH_ADDRESS";
|
||||||
static final String ACTION_VIEW_THREAD = BuildConfig.APPLICATION_ID + ".VIEW_THREAD";
|
static final String ACTION_VIEW_THREAD = BuildConfig.APPLICATION_ID + ".VIEW_THREAD";
|
||||||
static final String ACTION_VIEW_OUTBOX = BuildConfig.APPLICATION_ID + ".VIEW_OUTBOX";
|
|
||||||
static final String ACTION_EDIT_FOLDER = BuildConfig.APPLICATION_ID + ".EDIT_FOLDER";
|
static final String ACTION_EDIT_FOLDER = BuildConfig.APPLICATION_ID + ".EDIT_FOLDER";
|
||||||
|
static final String ACTION_VIEW_OUTBOX = BuildConfig.APPLICATION_ID + ".VIEW_OUTBOX";
|
||||||
static final String ACTION_EDIT_ANSWERS = BuildConfig.APPLICATION_ID + ".EDIT_ANSWERS";
|
static final String ACTION_EDIT_ANSWERS = BuildConfig.APPLICATION_ID + ".EDIT_ANSWERS";
|
||||||
static final String ACTION_EDIT_ANSWER = BuildConfig.APPLICATION_ID + ".EDIT_ANSWER";
|
static final String ACTION_EDIT_ANSWER = BuildConfig.APPLICATION_ID + ".EDIT_ANSWER";
|
||||||
static final String ACTION_EDIT_RULES = BuildConfig.APPLICATION_ID + ".EDIT_RULES";
|
static final String ACTION_EDIT_RULES = BuildConfig.APPLICATION_ID + ".EDIT_RULES";
|
||||||
|
@ -646,8 +646,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
iff.addAction(ACTION_VIEW_MESSAGES);
|
iff.addAction(ACTION_VIEW_MESSAGES);
|
||||||
iff.addAction(ACTION_SEARCH_ADDRESS);
|
iff.addAction(ACTION_SEARCH_ADDRESS);
|
||||||
iff.addAction(ACTION_VIEW_THREAD);
|
iff.addAction(ACTION_VIEW_THREAD);
|
||||||
iff.addAction(ACTION_VIEW_OUTBOX);
|
|
||||||
iff.addAction(ACTION_EDIT_FOLDER);
|
iff.addAction(ACTION_EDIT_FOLDER);
|
||||||
|
iff.addAction(ACTION_VIEW_OUTBOX);
|
||||||
iff.addAction(ACTION_EDIT_ANSWERS);
|
iff.addAction(ACTION_EDIT_ANSWERS);
|
||||||
iff.addAction(ACTION_EDIT_ANSWER);
|
iff.addAction(ACTION_EDIT_ANSWER);
|
||||||
iff.addAction(ACTION_EDIT_RULES);
|
iff.addAction(ACTION_EDIT_RULES);
|
||||||
|
@ -1336,10 +1336,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
onSearchAddress(intent);
|
onSearchAddress(intent);
|
||||||
else if (ACTION_VIEW_THREAD.equals(action))
|
else if (ACTION_VIEW_THREAD.equals(action))
|
||||||
onViewThread(intent);
|
onViewThread(intent);
|
||||||
else if (ACTION_VIEW_OUTBOX.equals(action))
|
|
||||||
onMenuOutbox();
|
|
||||||
else if (ACTION_EDIT_FOLDER.equals(action))
|
else if (ACTION_EDIT_FOLDER.equals(action))
|
||||||
onEditFolder(intent);
|
onEditFolder(intent);
|
||||||
|
else if (ACTION_VIEW_OUTBOX.equals(action))
|
||||||
|
onMenuOutbox();
|
||||||
else if (ACTION_EDIT_ANSWERS.equals(action))
|
else if (ACTION_EDIT_ANSWERS.equals(action))
|
||||||
onEditAnswers(intent);
|
onEditAnswers(intent);
|
||||||
else if (ACTION_EDIT_ANSWER.equals(action))
|
else if (ACTION_EDIT_ANSWER.equals(action))
|
||||||
|
|
Loading…
Reference in New Issue