Skip to content

Commit ce35db5

Browse files
committed
chore(fc): set keyboardType to password to disable auto-correct underline
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent c4394fd commit ce35db5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flipchatApp/src/main/kotlin/xyz/flipchat/app/features/chat/name/RoomNameScreen.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import androidx.compose.ui.graphics.Color
2727
import androidx.compose.ui.platform.LocalSoftwareKeyboardController
2828
import androidx.compose.ui.res.stringResource
2929
import androidx.compose.ui.text.input.KeyboardCapitalization
30+
import androidx.compose.ui.text.input.KeyboardType
3031
import cafe.adriel.voyager.core.screen.Screen
3132
import cafe.adriel.voyager.core.screen.ScreenKey
3233
import cafe.adriel.voyager.core.screen.uniqueScreenKey
@@ -178,6 +179,7 @@ private fun RoomNameScreenContent(
178179
borderColor = Color.Transparent
179180
),
180181
keyboardOptions = KeyboardOptions(
182+
keyboardType = KeyboardType.Password,
181183
capitalization = KeyboardCapitalization.Sentences
182184
),
183185
maxLines = 1,

0 commit comments

Comments
 (0)