chore: Follow up chat input row
This commit is contained in:
parent
c5b683f842
commit
7be2d3df59
1 changed files with 4 additions and 1 deletions
|
|
@ -358,7 +358,10 @@ class ChatInputRow extends StatelessWidget {
|
||||||
height: height,
|
height: height,
|
||||||
width: height,
|
width: height,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: PlatformInfos.platformCanRecord && !textMessageOnly
|
child:
|
||||||
|
PlatformInfos.platformCanRecord &&
|
||||||
|
!controller.sendController.text.isNotEmpty ||
|
||||||
|
controller.editEvent != null
|
||||||
? IconButton(
|
? IconButton(
|
||||||
tooltip: L10n.of(context).voiceMessage,
|
tooltip: L10n.of(context).voiceMessage,
|
||||||
onPressed: () =>
|
onPressed: () =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue