forked from upstream-mirrors/quik
+4
-3
@@ -93,9 +93,10 @@ class ConversationsAdapter @Inject constructor(
|
||||
view.title.collapseEnabled = conversation.recipients.size > 1
|
||||
view.title.text = conversation.getTitle()
|
||||
view.date.text = dateFormatter.getConversationTimestamp(conversation.date)
|
||||
view.snippet.text = when (conversation.me) {
|
||||
true -> context.getString(R.string.main_sender_you, conversation.snippet)
|
||||
false -> conversation.snippet
|
||||
view.snippet.text = when {
|
||||
conversation.draft.isNotEmpty() -> context.getString(R.string.main_draft, conversation.draft)
|
||||
conversation.me -> context.getString(R.string.main_sender_you, conversation.snippet)
|
||||
else -> conversation.snippet
|
||||
}
|
||||
view.pinned.isVisible = conversation.pinned
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
<string name="main_menu_block">Block</string>
|
||||
<string name="main_syncing">Syncing messages…</string>
|
||||
<string name="main_sender_you">You: %s</string>
|
||||
<string name="main_draft">Draft: %s</string>
|
||||
<string name="main_message_results_title">Results in messages</string>
|
||||
<string name="main_message_results">%d messages</string>
|
||||
<string name="inbox_empty_text">Your conversations will appear here</string>
|
||||
|
||||
Reference in New Issue
Block a user