fix: Use location pin icon

This commit is contained in:
Janez T
2026-04-05 19:39:40 +02:00
parent 7f4b4c4560
commit 56a7fa2fc6
4 changed files with 8 additions and 10 deletions

View File

@@ -261,9 +261,11 @@ class _RecipientSelectorSheetState extends State<RecipientSelectorSheet> {
}
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(