From ace58e3493ec3a5991274ec8d2554ff1eea6cf8e Mon Sep 17 00:00:00 2001 From: alansley Date: Thu, 29 Aug 2024 07:11:53 +1000 Subject: [PATCH] getSubbedString correction --- .../securesms/conversation/ConversationActionBarView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActionBarView.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActionBarView.kt index 0504a4993e..1c6442824d 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActionBarView.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/ConversationActionBarView.kt @@ -108,7 +108,7 @@ class ConversationActionBarView @JvmOverloads constructor( val durationAbbreviated = ExpirationUtil.getExpirationAbbreviatedDisplayValue(config.expiryMode.expirySeconds) // ..then substitute into the string.. - val subtitleTxt = context.getString(R.string.disappearingMessagesDisappear, + val subtitleTxt = context.getSubbedString(R.string.disappearingMessagesDisappear, DISAPPEARING_MESSAGES_TYPE_KEY to dmTypeString, TIME_KEY to durationAbbreviated )