diff --git a/lib/screens/contacts_tab.dart b/lib/screens/contacts_tab.dart index 1207f8c..a2785b3 100644 --- a/lib/screens/contacts_tab.dart +++ b/lib/screens/contacts_tab.dart @@ -1925,7 +1925,6 @@ class _ChannelActivityCard extends StatelessWidget { BuildContext context, ChannelLocationSharingMode mode, ) { - final isHardware = mode == ChannelLocationSharingMode.hardware; const accent = Color(0xFF16A34A); return Container( @@ -1936,7 +1935,7 @@ class _ChannelActivityCard extends StatelessWidget { border: Border.all(color: Colors.white, width: 2), ), child: Icon( - isHardware ? Icons.public_rounded : Icons.smartphone_rounded, + Icons.location_pin, size: 11, color: Colors.white, ), diff --git a/lib/screens/messages_tab.dart b/lib/screens/messages_tab.dart index 5ded9e5..22db489 100644 --- a/lib/screens/messages_tab.dart +++ b/lib/screens/messages_tab.dart @@ -2163,9 +2163,7 @@ class _MessagesTabState extends State { ), alignment: Alignment.center, child: Icon( - sharingMode == ChannelLocationSharingMode.hardware - ? Icons.public_rounded - : Icons.smartphone_rounded, + Icons.location_pin, size: 9, color: Colors.white, ), diff --git a/lib/widgets/contacts/contact_tile.dart b/lib/widgets/contacts/contact_tile.dart index 5de636d..e8e3248 100644 --- a/lib/widgets/contacts/contact_tile.dart +++ b/lib/widgets/contacts/contact_tile.dart @@ -71,7 +71,6 @@ class ContactTile extends StatelessWidget { BuildContext context, ChannelLocationSharingMode mode, ) { - final isHardware = mode == ChannelLocationSharingMode.hardware; const accent = Color(0xFF16A34A); return Container( @@ -82,7 +81,7 @@ class ContactTile extends StatelessWidget { border: Border.all(color: Colors.white, width: 2), ), child: Icon( - isHardware ? Icons.public_rounded : Icons.smartphone_rounded, + Icons.location_pin, size: 11, color: Colors.white, ), diff --git a/lib/widgets/messages/recipient_selector_sheet.dart b/lib/widgets/messages/recipient_selector_sheet.dart index e5d45ee..1cf3989 100644 --- a/lib/widgets/messages/recipient_selector_sheet.dart +++ b/lib/widgets/messages/recipient_selector_sheet.dart @@ -261,9 +261,11 @@ class _RecipientSelectorSheetState extends State { } IconData _channelLocationSharingIcon(ChannelLocationSharingMode mode) { - return mode == ChannelLocationSharingMode.hardware - ? Icons.public_rounded - : Icons.smartphone_rounded; + switch (mode) { + case ChannelLocationSharingMode.hardware: + case ChannelLocationSharingMode.appFallback: + return Icons.location_pin; + } } Color _channelLocationSharingColor(