reorder items, so your less likely to share location on accident.

This commit is contained in:
ZIER 2026-03-09 12:15:43 +01:00
parent 20a801be86
commit 9885a8c164
2 changed files with 20 additions and 20 deletions

View file

@ -1017,6 +1017,16 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
}
},
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<ChannelChatScreen> {
],
),
),
PopupMenuItem(
value: _ChannelChatInputAction.shareLocation,
child: Row(
children: [
const Icon(Icons.location_on, size: 20),
const SizedBox(width: 8),
Text(context.l10n.chat_shareLocation),
],
),
),
],
),
Expanded(

View file

@ -359,6 +359,16 @@ class _ChatScreenState extends State<ChatScreen> {
}
},
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<ChatScreen> {
],
),
),
PopupMenuItem(
value: _ChatInputAction.shareLocation,
child: Row(
children: [
const Icon(Icons.my_location, size: 20),
const SizedBox(width: 8),
Text(context.l10n.chat_shareLocation),
],
),
),
],
),
Expanded(