From 4b5aab3c8dbb3cea6642acfed60df83cdfcd9612 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sun, 29 Nov 2020 14:56:51 +0100 Subject: [PATCH] Show "more" again in case topic is shown in easy mode Change-Id: Ib5e93fd0b471746dc3fb58be581f35b0ff28c64b --- .../vector/app/features/roomprofile/RoomProfileController.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt b/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt index 79e053e6a2..26109bfdfd 100644 --- a/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt +++ b/vector/src/main/java/im/vector/app/features/roomprofile/RoomProfileController.kt @@ -90,8 +90,10 @@ class RoomProfileController @Inject constructor( text(stringProvider.getString(learnMoreSubtitle)) } buildEncryptionAction(data.actionPermissions, roomSummary) + } - // More + // More | category header only if displaying other sections above + if (enableNonSimplifiedMode || roomSummary.topic.isNotEmpty()) { buildProfileSection(stringProvider.getString(R.string.room_profile_section_more)) } buildProfileAction(