mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
make popup appear above button.
This commit is contained in:
parent
91072bb9c6
commit
ee211b8d28
2 changed files with 4 additions and 2 deletions
|
|
@ -1098,7 +1098,8 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||
PopupMenuButton<_ChannelChatInputAction>(
|
||||
icon: const Icon(Icons.add_circle_outline),
|
||||
tooltip: context.l10n.common_add,
|
||||
offset: const Offset(0, -8),
|
||||
position: PopupMenuPosition.over,
|
||||
offset: const Offset(0, -180),
|
||||
onSelected: (action) {
|
||||
if (action == _ChannelChatInputAction.sendGif) {
|
||||
_showGifPicker(context);
|
||||
|
|
|
|||
|
|
@ -353,7 +353,8 @@ class _ChatScreenState extends State<ChatScreen> {
|
|||
PopupMenuButton<_ChatInputAction>(
|
||||
icon: const Icon(Icons.add_circle_outline),
|
||||
tooltip: context.l10n.common_add,
|
||||
offset: const Offset(0, -8),
|
||||
position: PopupMenuPosition.over,
|
||||
offset: const Offset(0, -180),
|
||||
onSelected: (action) {
|
||||
if (action == _ChatInputAction.sendGif) {
|
||||
_showGifPicker(context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue