mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Add missing "Security" section.
This commit is contained in:
+15
@@ -302,6 +302,21 @@ fun RoomDetailsView(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (state.isEncrypted) {
|
||||||
|
PreferenceCategory(
|
||||||
|
title = stringResource(R.string.screen_room_details_security_title)
|
||||||
|
) {
|
||||||
|
ListItem(
|
||||||
|
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Lock())),
|
||||||
|
headlineContent = {
|
||||||
|
Text(stringResource(id = R.string.screen_room_details_encryption_enabled_title))
|
||||||
|
},
|
||||||
|
supportingContent = {
|
||||||
|
Text(stringResource(id = R.string.screen_room_details_encryption_enabled_subtitle))
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
OtherActionsSection(
|
OtherActionsSection(
|
||||||
dmOtherMemberDetailsState = state.dmOtherMemberDetailsState,
|
dmOtherMemberDetailsState = state.dmOtherMemberDetailsState,
|
||||||
canReportRoom = state.canReportRoom,
|
canReportRoom = state.canReportRoom,
|
||||||
|
|||||||
Reference in New Issue
Block a user