mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-15 06:56:30 +00:00
voice: keep pill height identical between rest and recording - constrain recording visualizer row to the text field's 22dp content height so the separator no longer shifts
This commit is contained in:
parent
56f52218ed
commit
8eddcb15ca
@ -494,6 +494,10 @@ fun MessageInput(
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
// Same content height as the single-line text field, so the pill
|
||||
// (and the separator above it) does not change size when the
|
||||
// recording visualizer replaces the field.
|
||||
.height(22.dp)
|
||||
.alpha(waveformAlpha),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user