Show "more" again in case topic is shown in easy mode

Change-Id: Ib5e93fd0b471746dc3fb58be581f35b0ff28c64b
This commit is contained in:
SpiritCroc 2020-11-29 14:56:51 +01:00
parent 6830ffd3f0
commit 4b5aab3c8d
1 changed files with 3 additions and 1 deletions

View File

@ -90,8 +90,10 @@ class RoomProfileController @Inject constructor(
text(stringProvider.getString(learnMoreSubtitle)) text(stringProvider.getString(learnMoreSubtitle))
} }
buildEncryptionAction(data.actionPermissions, roomSummary) 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)) buildProfileSection(stringProvider.getString(R.string.room_profile_section_more))
} }
buildProfileAction( buildProfileAction(