mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Do not show add to contacts if there's no e164.
This commit is contained in:
@@ -159,7 +159,7 @@ sealed class ConversationSettingsViewModel(
|
||||
contactLinkState = when {
|
||||
recipient.isSelf || recipient.isReleaseNotes || recipient.isBlocked -> ContactLinkState.NONE
|
||||
recipient.isSystemContact -> ContactLinkState.OPEN
|
||||
recipient.hasE164() -> ContactLinkState.ADD
|
||||
recipient.hasE164() && recipient.shouldShowE164() -> ContactLinkState.ADD
|
||||
else -> ContactLinkState.NONE
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user