Skip to content

Commit c52c735

Browse files
committed
Fix text locale for search field on practice create screen #91
1 parent cf86379 commit c52c735

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core/src/commonMain/kotlin/ua/syt0r/kanji/presentation/screen/main/screen/practice_create/ui/PracticeCreateScreenUI.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ import androidx.compose.ui.graphics.SolidColor
6060
import androidx.compose.ui.layout.LayoutCoordinates
6161
import androidx.compose.ui.layout.onGloballyPositioned
6262
import androidx.compose.ui.platform.LocalSoftwareKeyboardController
63-
import androidx.compose.ui.text.TextStyle
6463
import androidx.compose.ui.text.input.ImeAction
6564
import androidx.compose.ui.unit.dp
6665
import androidx.compose.ui.unit.sp
@@ -401,7 +400,7 @@ private fun CharacterInputField(
401400
singleLine = true,
402401
interactionSource = interactionSource,
403402
cursorBrush = SolidColor(color),
404-
textStyle = TextStyle.Default.copy(color),
403+
textStyle = MaterialTheme.typography.bodyMedium.copy(color),
405404
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Search),
406405
keyboardActions = KeyboardActions { handleSubmit() }
407406
)

0 commit comments

Comments
 (0)