Update outgoing view-once message toast.
This commit is contained in:
parent
05763191ce
commit
20e368ab5e
2 changed files with 2 additions and 2 deletions
|
@ -1063,7 +1063,7 @@ public class ConversationFragment extends Fragment
|
|||
}
|
||||
|
||||
if (!ViewOnceUtil.isViewable(messageRecord)) {
|
||||
int stringRes = messageRecord.isOutgoing() ? R.string.ConversationFragment_view_once_message_are_not_stored_in_your_conversation_history
|
||||
int stringRes = messageRecord.isOutgoing() ? R.string.ConversationFragment_outgoing_view_once_media_files_are_automatically_removed
|
||||
: R.string.ConversationFragment_you_already_viewed_this_message;
|
||||
Toast.makeText(requireContext(), stringRes, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
<string name="ConversationFragment_failed_to_open_message">Failed to open message</string>
|
||||
<string name="ConversationFragment_you_can_swipe_to_the_right_reply">You can swipe to the right on any message to quickly reply</string>
|
||||
<string name="ConversationFragment_you_can_swipe_to_the_left_reply">You can swipe to the left on any message to quickly reply</string>
|
||||
<string name="ConversationFragment_view_once_message_are_not_stored_in_your_conversation_history">View-once messages are not stored in your conversation history</string>
|
||||
<string name="ConversationFragment_outgoing_view_once_media_files_are_automatically_removed">Outgoing view-once media files are automatically removed after they are sent</string>
|
||||
<string name="ConversationFragment_you_already_viewed_this_message">You already viewed this message</string>
|
||||
|
||||
<!-- ConversationListActivity -->
|
||||
|
|
Loading…
Add table
Reference in a new issue