From 9d6e7d7bd0b033258d1be83b4fec3ecedb881dde Mon Sep 17 00:00:00 2001 From: Valere Date: Sat, 1 Feb 2020 14:32:55 +0100 Subject: [PATCH] Learn more shows my devices when keys not trusted --- .../roommemberprofile/RoomMemberProfileController.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt b/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt index b98235b29a..c77d575f01 100644 --- a/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt +++ b/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt @@ -112,6 +112,15 @@ class RoomMemberProfileController @Inject constructor( divider = false, action = { callback?.onTapVerify() } ) + } else { + buildProfileAction( + id = "learn_more", + title = stringProvider.getString(R.string.room_profile_section_security_learn_more), + dividerColor = dividerColor, + editable = false, + divider = false, + action = { callback?.onShowDeviceListNoCrossSigning() } + ) } genericFooterItem {