Do not show profile photo when tapping note to self.

fork-5.53.8
Greyson Parrelli 2021-07-26 10:00:09 -04:00
rodzic 7ccba5b1c8
commit 5ac8d3b0bd
1 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -237,6 +237,7 @@ class ConversationSettingsFragment : DSLSettingsFragment(
AvatarPreference.Model( AvatarPreference.Model(
recipient = state.recipient, recipient = state.recipient,
onAvatarClick = { avatar -> onAvatarClick = { avatar ->
if (!state.recipient.isSelf) {
requireActivity().apply { requireActivity().apply {
startActivity( startActivity(
AvatarPreviewActivity.intentFromRecipientId(this, state.recipient.id), AvatarPreviewActivity.intentFromRecipientId(this, state.recipient.id),
@ -244,6 +245,7 @@ class ConversationSettingsFragment : DSLSettingsFragment(
) )
} }
} }
}
) )
) )