Removing learn more in case of unknown verification status
This commit is contained in:
parent
a48131baad
commit
7be958e6a5
@ -207,7 +207,7 @@ class SessionOverviewFragment :
|
|||||||
deviceFullInfo = deviceInfo,
|
deviceFullInfo = deviceInfo,
|
||||||
isVerifyButtonVisible = isCurrentSession || viewState.isCurrentSessionTrusted,
|
isVerifyButtonVisible = isCurrentSession || viewState.isCurrentSessionTrusted,
|
||||||
isDetailsButtonVisible = false,
|
isDetailsButtonVisible = false,
|
||||||
isLearnMoreLinkVisible = true,
|
isLearnMoreLinkVisible = deviceInfo.roomEncryptionTrustLevel != RoomEncryptionTrustLevel.Default,
|
||||||
isLastSeenDetailsVisible = !isCurrentSession,
|
isLastSeenDetailsVisible = !isCurrentSession,
|
||||||
)
|
)
|
||||||
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider, stringProvider)
|
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider, stringProvider)
|
||||||
|
Loading…
Reference in New Issue
Block a user