mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-30 23:36:32 +00:00
Update outgoing view-once message toast.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user