mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Merge pull request #7325 from vector-im/feature/mna/device-manager-hide-ip-current-session
[Device management] Hide the IP address and last activity date on current session (PSG-823)
This commit is contained in:
commit
7877ef92cc
1
changelog.d/7324.wip
Normal file
1
changelog.d/7324.wip
Normal file
@ -0,0 +1 @@
|
|||||||
|
[Device management] Hide the IP address and last activity date on current session
|
@ -215,7 +215,7 @@ class SessionOverviewFragment :
|
|||||||
isVerifyButtonVisible = isCurrentSession || viewState.isCurrentSessionTrusted,
|
isVerifyButtonVisible = isCurrentSession || viewState.isCurrentSessionTrusted,
|
||||||
isDetailsButtonVisible = false,
|
isDetailsButtonVisible = false,
|
||||||
isLearnMoreLinkVisible = true,
|
isLearnMoreLinkVisible = true,
|
||||||
isLastSeenDetailsVisible = true,
|
isLastSeenDetailsVisible = !isCurrentSession,
|
||||||
)
|
)
|
||||||
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider, stringProvider)
|
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider, stringProvider)
|
||||||
views.sessionOverviewInfo.onLearnMoreClickListener = {
|
views.sessionOverviewInfo.onLearnMoreClickListener = {
|
||||||
|
Loading…
Reference in New Issue
Block a user