quality: fix ktlint

This commit is contained in:
ganfra 2025-12-02 20:26:42 +01:00
parent 5e5a6e02ba
commit b74afcca13

View file

@ -52,6 +52,7 @@ import io.element.android.libraries.designsystem.theme.components.TextButton
import io.element.android.libraries.designsystem.theme.components.TopAppBar import io.element.android.libraries.designsystem.theme.components.TopAppBar
import io.element.android.libraries.ui.strings.CommonStrings import io.element.android.libraries.ui.strings.CommonStrings
import kotlinx.collections.immutable.ImmutableSet import kotlinx.collections.immutable.ImmutableSet
@Composable @Composable
fun SecurityAndPrivacyView( fun SecurityAndPrivacyView(
state: SecurityAndPrivacyState, state: SecurityAndPrivacyState,
@ -214,7 +215,9 @@ private fun RoomAccessSection(
if (saved == SecurityAndPrivacyRoomAccess.SpaceMember) { if (saved == SecurityAndPrivacyRoomAccess.SpaceMember) {
ListItem( ListItem(
headlineContent = { Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_title)) }, headlineContent = { Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_title)) },
supportingContent = { Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_unavailable_description)) }, supportingContent = {
Text(text = stringResource(R.string.screen_security_and_privacy_room_access_space_members_option_unavailable_description))
},
trailingContent = ListItemContent.RadioButton(selected = edited == SecurityAndPrivacyRoomAccess.SpaceMember, enabled = false), trailingContent = ListItemContent.RadioButton(selected = edited == SecurityAndPrivacyRoomAccess.SpaceMember, enabled = false),
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Workspace())), leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Workspace())),
enabled = false, enabled = false,