kopia lustrzana https://github.com/ryukoposting/Signal-Android
Show 'Note to Self' for yourself in the media send flow.
rodzic
dfecb0efd8
commit
6880dfeb62
|
@ -438,7 +438,7 @@ class MediaReviewFragment : Fragment(R.layout.v2_media_review_fragment) {
|
|||
|
||||
private fun computeRecipientDisplayAnimators(state: MediaSelectionState): List<Animator> {
|
||||
return if (state.isTouchEnabled && state.recipient != null) {
|
||||
recipientDisplay.text = state.recipient.getDisplayName(requireContext())
|
||||
recipientDisplay.text = if (state.recipient.isSelf) requireContext().getString(R.string.note_to_self) else state.recipient.getDisplayName(requireContext())
|
||||
listOf(MediaReviewAnimatorController.getFadeInAnimator(recipientDisplay))
|
||||
} else {
|
||||
listOf(MediaReviewAnimatorController.getFadeOutAnimator(recipientDisplay))
|
||||
|
|
Ładowanie…
Reference in New Issue