aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/ui/dialogs
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-03-28 23:20:44 +0200
committersteckbrief <steckbrief@chefmail.de>2016-03-28 23:20:44 +0200
commit77b1f2138e19545a48ea93c97f8518a87b065831 (patch)
tree8e27fefdbe9b16991f2450f147aeee581337ec1b /src/main/java/de/thedevstack/conversationsplus/ui/dialogs
parent27ca7f72d158318076de59d60ccb28625f3bdbf7 (diff)
parent0c0676b7dbf87e24ebcc4714adfb10d91e3d72b8 (diff)
Merge remote-tracking branch 'remotes/origin/trz/rename' into trz/rebase
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ui/dialogs')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ui/dialogs/MessageDetailsDialog.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/dialogs/MessageDetailsDialog.java b/src/main/java/de/thedevstack/conversationsplus/ui/dialogs/MessageDetailsDialog.java
index 5cf9dd7d..9ada85f3 100644
--- a/src/main/java/de/thedevstack/conversationsplus/ui/dialogs/MessageDetailsDialog.java
+++ b/src/main/java/de/thedevstack/conversationsplus/ui/dialogs/MessageDetailsDialog.java
@@ -74,7 +74,6 @@ public class MessageDetailsDialog extends AbstractAlertDialog {
protected void displayMessageStatusInfo(View view, Message message) {
TextView msgStatusTextView = (TextView) view.findViewById(R.id.dlgMsgDetMsgStatus);
int msgStatusResId;
- int msgStatusColorResId = R.color.primaryText;
switch (message.getStatus()) {
case Message.STATUS_WAITING:
msgStatusResId = R.string.dlg_msg_details_msg_status_waiting;
@@ -87,7 +86,7 @@ public class MessageDetailsDialog extends AbstractAlertDialog {
break;
case Message.STATUS_SEND_FAILED:
msgStatusResId = R.string.dlg_msg_details_msg_status_failed;
- msgStatusColorResId = R.color.error;
+ msgStatusTextView.setTextColor(getContext().getResources().getColor(R.color.error));
break;
case Message.STATUS_RECEIVED:
msgStatusResId = R.string.dlg_msg_details_msg_status_received;
@@ -99,7 +98,6 @@ public class MessageDetailsDialog extends AbstractAlertDialog {
msgStatusResId = R.string.dlg_msg_details_msg_status_sent;
}
msgStatusTextView.setText(msgStatusResId);
- msgStatusTextView.setTextColor(getContext().getResources().getColor(msgStatusColorResId));
}
/**