mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Fix position of clearable text field remaining characters count.
This commit is contained in:
committed by
Greyson Parrelli
parent
6d30fd11a7
commit
d709d67f54
@@ -194,7 +194,8 @@ private fun LabelTextField(
|
||||
imeAction = ImeAction.Done
|
||||
),
|
||||
keyboardActions = KeyboardActions(onDone = { onSave() }),
|
||||
charactersRemaining = remainingCharacters,
|
||||
hasClearableContent = { labelText.isNotEmpty() || !labelEmoji.isNullOrEmpty() },
|
||||
charactersRemainingBeforeLimit = remainingCharacters,
|
||||
countdownConfig = ClearableTextField.CountdownConfig(displayThreshold = 9, warnThreshold = 5),
|
||||
colors = TextFieldDefaults.colors(
|
||||
unfocusedContainerColor = MaterialTheme.colorScheme.surfaceVariant,
|
||||
|
||||
Reference in New Issue
Block a user