From 35293d6293357736e9aafc75d385aca69a74a635 Mon Sep 17 00:00:00 2001 From: Christian S Date: Mon, 27 Jul 2015 09:33:56 +0200 Subject: added missing chatstate hints --- src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index 4ace44e68..5e05c1138 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -335,7 +335,9 @@ public class ConversationActivity extends XmppActivity ab.setSubtitle(getString(R.string.contact_is_typing, conversation.getName())); } else if (state == ChatState.PAUSED) { ab.setSubtitle(null); - } + } else { + ab.setSubtitle(null); + } } else if (useSubjectToIdentifyConference()){ ab.setSubtitle(conversation.getParticipants()); } @@ -346,7 +348,7 @@ public class ConversationActivity extends XmppActivity } else { ab.setDisplayHomeAsUpEnabled(false); ab.setHomeButtonEnabled(false); - ab.setTitle(R.string.app_name); + ab.setTitle(R.string.app_name); ab.setSubtitle(null); } } -- cgit v1.2.3