diff --git a/lib/screens/channel_chat_screen.dart b/lib/screens/channel_chat_screen.dart index f697801..605451d 100644 --- a/lib/screens/channel_chat_screen.dart +++ b/lib/screens/channel_chat_screen.dart @@ -1017,6 +1017,16 @@ class _ChannelChatScreenState extends State { } }, itemBuilder: (context) => [ + PopupMenuItem( + value: _ChannelChatInputAction.shareLocation, + child: Row( + children: [ + const Icon(Icons.location_on, size: 20), + const SizedBox(width: 8), + Text(context.l10n.chat_shareLocation), + ], + ), + ), PopupMenuItem( value: _ChannelChatInputAction.sendGif, child: Row( @@ -1037,16 +1047,6 @@ class _ChannelChatScreenState extends State { ], ), ), - PopupMenuItem( - value: _ChannelChatInputAction.shareLocation, - child: Row( - children: [ - const Icon(Icons.location_on, size: 20), - const SizedBox(width: 8), - Text(context.l10n.chat_shareLocation), - ], - ), - ), ], ), Expanded( diff --git a/lib/screens/chat_screen.dart b/lib/screens/chat_screen.dart index bf7613f..d3394f2 100644 --- a/lib/screens/chat_screen.dart +++ b/lib/screens/chat_screen.dart @@ -359,6 +359,16 @@ class _ChatScreenState extends State { } }, itemBuilder: (context) => [ + PopupMenuItem( + value: _ChatInputAction.shareLocation, + child: Row( + children: [ + const Icon(Icons.my_location, size: 20), + const SizedBox(width: 8), + Text(context.l10n.chat_shareLocation), + ], + ), + ), PopupMenuItem( value: _ChatInputAction.sendGif, child: Row( @@ -379,16 +389,6 @@ class _ChatScreenState extends State { ], ), ), - PopupMenuItem( - value: _ChatInputAction.shareLocation, - child: Row( - children: [ - const Icon(Icons.my_location, size: 20), - const SizedBox(width: 8), - Text(context.l10n.chat_shareLocation), - ], - ), - ), ], ), Expanded(