feat(join by alias) : small clean up

This commit is contained in:
ganfra
2025-02-25 20:28:05 +01:00
parent 25d39c285b
commit a6c3428680
2 changed files with 2 additions and 3 deletions
@@ -152,7 +152,6 @@ private fun RoomListScaffold(
onClick = onCreateRoomClick onClick = onCreateRoomClick
) { ) {
Icon( Icon(
// Note cannot use Icons.Outlined.EditSquare, it does not exist :/
imageVector = CompoundIcons.Plus(), imageVector = CompoundIcons.Plus(),
contentDescription = stringResource(id = R.string.screen_roomlist_a11y_create_message), contentDescription = stringResource(id = R.string.screen_roomlist_a11y_create_message),
tint = ElementTheme.colors.iconOnSolidPrimary, tint = ElementTheme.colors.iconOnSolidPrimary,
@@ -83,8 +83,8 @@ private fun Content(text: String, onTextChange: (String) -> Unit, hasError: Bool
var showPassword by remember { mutableStateOf(false) } var showPassword by remember { mutableStateOf(false) }
TextField( TextField(
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.onTabOrEnterKeyFocusNext(LocalFocusManager.current), .onTabOrEnterKeyFocusNext(LocalFocusManager.current),
value = text, value = text,
onValueChange = onTextChange, onValueChange = onTextChange,
placeholder = stringResource(CommonStrings.common_password), placeholder = stringResource(CommonStrings.common_password),