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

@@ -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,
),

View File

@@ -2163,9 +2163,7 @@ class _MessagesTabState extends State<MessagesTab> {
),
alignment: Alignment.center,
child: Icon(
sharingMode == ChannelLocationSharingMode.hardware
? Icons.public_rounded
: Icons.smartphone_rounded,
Icons.location_pin,
size: 9,
color: Colors.white,
),