chore: Follow up chat input row

This commit is contained in:
Christian Kußowski 2026-02-14 22:05:14 +01:00
parent c5b683f842
commit 7be2d3df59
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -358,7 +358,10 @@ class ChatInputRow extends StatelessWidget {
height: height,
width: height,
alignment: Alignment.center,
child: PlatformInfos.platformCanRecord && !textMessageOnly
child:
PlatformInfos.platformCanRecord &&
!controller.sendController.text.isNotEmpty ||
controller.editEvent != null
? IconButton(
tooltip: L10n.of(context).voiceMessage,
onPressed: () =>