Merge pull request #522 from ericszimmermann/ez_inputBar_PR

clean up input bar
This commit is contained in:
zjs81 authored and GitHub committed 2026-08-25 13:46:38 -07:00
commit e6cea37e77
40 files changed
+215 -116

No files matched your search

+20 -4
View File
@@ -478,10 +478,26 @@ class _ChatScreenState extends State<ChatScreen> {
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
IconButton(
icon: const Icon(Icons.gif_box),
onPressed: () => _showGifPicker(context),
tooltip: context.l10n.chat_sendGif,
PopupMenuButton<String>(
icon: const Icon(Icons.add_circle_outline),
position: PopupMenuPosition.over,
offset: const Offset(0, -64),
tooltip: context.l10n.chat_selectSendAction,
onSelected: (action) {
if (action == 'gif') _showGifPicker(context);
},
itemBuilder: (context) => [
PopupMenuItem(
value: 'gif',
child: Row(
children: [
const Icon(Icons.gif_box),
const SizedBox(width: 12),
Text(context.l10n.chat_sendGif),
],
),
),
],
),
if (settings.translationEnabled)
MessageTranslationButton(