From 5920533cf57d34c715973ac7e54a18effcb616ef Mon Sep 17 00:00:00 2001 From: kosyak Date: Sat, 12 Oct 2024 13:39:44 +0200 Subject: [PATCH] proper title for secret chat --- .../java/eu/siacs/conversations/ui/ConversationsActivity.java | 2 +- src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java index c30669104..1bdd6877a 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationsActivity.java @@ -761,7 +761,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio if (conversation.getMode() == Conversational.MODE_MULTI) { actionBar.setTitle(getString(R.string.muc_private_conversation_title, conversation.getNextCounterpart().getResource(), conversation.getName())); } else { - actionBar.setTitle(getString(R.string.secret_chat_title, conversation.getName(), "")); + actionBar.setTitle(getString(R.string.secret_chat_title_no_resource, conversation.getName())); } } else { actionBar.setTitle(conversation.getName()); diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index dd56a19d9..4a9cf5db3 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -1091,6 +1091,7 @@ filter could_not_create_file %1$s (Secret Chat / %2$s) + %1$s (Secret Chat / %2$s) %1$s (%2$s) Note to self (%1$s) Private conversation with: