mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
reorder items, so your less likely to share location on accident.
This commit is contained in:
parent
20a801be86
commit
9885a8c164
2 changed files with 20 additions and 20 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue