Skip to content

Commit ea32fce

Browse files
committed
fix MessageInput height discrepancy
1 parent 5717a21 commit ea32fce

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

packages/stream_chat_flutter/lib/src/message_input/audio_message_send_button/stream_audio_message_send_button.dart

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class _StreamAudioMessageSendButtonState
7474
if (_lockButtonOverlayController.isShowing) {
7575
_lockButtonOverlayController.hide();
7676
}
77+
_lockButtonTimer?.cancel();
7778
super.dispose();
7879
}
7980

@@ -178,12 +179,15 @@ class _StreamAudioMessageSendButtonState
178179
child: const StreamAudioMessageControllers(),
179180
),
180181
),
181-
DecoratedBox(
182-
decoration: BoxDecoration(
183-
color: iconBackgroundColor,
184-
shape: BoxShape.circle,
182+
Padding(
183+
padding: const EdgeInsets.all(1.5),
184+
child: DecoratedBox(
185+
decoration: BoxDecoration(
186+
color: iconBackgroundColor,
187+
shape: BoxShape.circle,
188+
),
189+
child: icon,
185190
),
186-
child: icon,
187191
),
188192
],
189193
),

0 commit comments

Comments
 (0)