missed show=chat for send button colorization
This commit is contained in:
parent
fef41ba2a2
commit
ff41918cb7
|
@ -505,6 +505,10 @@ public class ConversationFragment extends Fragment {
|
||||||
&& c.getAccount().getStatus() == Account.STATUS_ONLINE) {
|
&& c.getAccount().getStatus() == Account.STATUS_ONLINE) {
|
||||||
if (c.getMode() == Conversation.MODE_SINGLE) {
|
if (c.getMode() == Conversation.MODE_SINGLE) {
|
||||||
switch (c.getContact().getMostAvailableStatus()) {
|
switch (c.getContact().getMostAvailableStatus()) {
|
||||||
|
case Presences.CHAT:
|
||||||
|
this.mSendButton
|
||||||
|
.setImageResource(R.drawable.ic_action_send_now_online);
|
||||||
|
break;
|
||||||
case Presences.ONLINE:
|
case Presences.ONLINE:
|
||||||
this.mSendButton
|
this.mSendButton
|
||||||
.setImageResource(R.drawable.ic_action_send_now_online);
|
.setImageResource(R.drawable.ic_action_send_now_online);
|
||||||
|
|
Loading…
Reference in a new issue