diff --git a/app/src/main/java/org/thoughtcrime/securesms/ui/components/Text.kt b/app/src/main/java/org/thoughtcrime/securesms/ui/components/Text.kt index 1ff696ce12..b6a12a792d 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/ui/components/Text.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/ui/components/Text.kt @@ -119,7 +119,7 @@ fun SessionOutlinedTextField( onValueChange = onChange, modifier = Modifier.wrapContentHeight().fillMaxWidth().contentDescription(contentDescription), textStyle = textStyle.copy(color = LocalColors.current.text(isTextErrorColor)), - cursorBrush = SolidColor(LocalColors.current.text(error != null)), + cursorBrush = SolidColor(LocalColors.current.text(isTextErrorColor)), keyboardOptions = KeyboardOptions.Default.copy(imeAction = ImeAction.Done), keyboardActions = KeyboardActions( onDone = { onContinue() },