From 8eddcb15caaf93f5737b9598a8b7745a86b50f3c Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 29 Jul 2026 12:23:50 +0200 Subject: [PATCH] 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 --- app/src/main/java/com/bitchat/android/ui/InputComponents.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/com/bitchat/android/ui/InputComponents.kt b/app/src/main/java/com/bitchat/android/ui/InputComponents.kt index f3d3e5fc..8bdf52b9 100644 --- a/app/src/main/java/com/bitchat/android/ui/InputComponents.kt +++ b/app/src/main/java/com/bitchat/android/ui/InputComponents.kt @@ -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 ) {