Skip to content

Commit

Permalink
Merge pull request #7325 from vector-im/feature/mna/device-manager-hi…
Browse files Browse the repository at this point in the history
…de-ip-current-session

[Device management] Hide the IP address and last activity date on current session (PSG-823)
  • Loading branch information
mnaturel authored Oct 12, 2022
2 parents 6626732 + f171b8a commit 7877ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/7324.wip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Device management] Hide the IP address and last activity date on current session
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class SessionOverviewFragment :
isVerifyButtonVisible = isCurrentSession || viewState.isCurrentSessionTrusted,
isDetailsButtonVisible = false,
isLearnMoreLinkVisible = true,
isLastSeenDetailsVisible = true,
isLastSeenDetailsVisible = !isCurrentSession,
)
views.sessionOverviewInfo.render(infoViewState, dateFormatter, drawableProvider, colorProvider, stringProvider)
views.sessionOverviewInfo.onLearnMoreClickListener = {
Expand Down

0 comments on commit 7877ef9

Please sign in to comment.