diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
index d1a9a3f1f..0a8f328ab 100644
--- a/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
+++ b/src/main/java/eu/siacs/conversations/ui/adapter/ConversationAdapter.java
@@ -390,6 +390,10 @@ public class ConversationAdapter
int drId = activity.getThemeResource(R.attr.ic_group_16, R.drawable.ic_group_selected_black_16);
Drawable dr = AppCompatResources.getDrawable(activity, drId);
viewHolder.binding.conversationName.setCompoundDrawablesRelativeWithIntrinsicBounds(null, null, dr, null);
+ } else if (conversation.getMode() == Conversation.MODE_SINGLE && conversation.hasPermanentCounterpart()) {
+ int drId = activity.getThemeResource(R.attr.ic_secret_chat_16, R.drawable.ic_secret_chat_16dp_black);
+ Drawable dr = AppCompatResources.getDrawable(activity, drId);
+ viewHolder.binding.conversationName.setCompoundDrawablesRelativeWithIntrinsicBounds(null, null, dr, null);
} else {
viewHolder.binding.conversationName.setCompoundDrawablesRelativeWithIntrinsicBounds(null, null, null, null);
}
diff --git a/src/main/res/drawable/ic_secret_chat_16dp_black.xml b/src/main/res/drawable/ic_secret_chat_16dp_black.xml
new file mode 100644
index 000000000..44fa7de58
--- /dev/null
+++ b/src/main/res/drawable/ic_secret_chat_16dp_black.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/main/res/drawable/ic_secret_chat_16dp_white.xml b/src/main/res/drawable/ic_secret_chat_16dp_white.xml
new file mode 100644
index 000000000..0f704750e
--- /dev/null
+++ b/src/main/res/drawable/ic_secret_chat_16dp_white.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml
index 6f9eccd42..80d8ca107 100644
--- a/src/main/res/values/attrs.xml
+++ b/src/main/res/values/attrs.xml
@@ -134,6 +134,7 @@
+
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 0acfa1d30..cc38d86d0 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -1092,7 +1092,7 @@
filter
could_not_create_file
%1$s (Secret Chat / %2$s)
- %1$s (Secret Chat / %2$s)
+ %1$s (Secret Chat)
%1$s (%2$s)
Note to self (%1$s)
Private conversation with:
diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml
index 74462aa2f..773f8cd15 100644
--- a/src/main/res/values/themes.xml
+++ b/src/main/res/values/themes.xml
@@ -153,6 +153,7 @@
- @drawable/outline_group_black_24dp
- @drawable/ic_group_selected_black_24
- @drawable/ic_group_selected_black_16
+ - @drawable/ic_secret_chat_16dp_black
- @drawable/ic_notifications_black_24dp
@@ -331,6 +332,7 @@
- @drawable/outline_group_white_24
- @drawable/ic_group_selected_white_24
- @drawable/ic_group_selected_white_16
+ - @drawable/ic_secret_chat_16dp_white
- @drawable/ic_notifications_white_24dp