ui: fix icons, button stylings
This commit is contained in:
@@ -520,7 +520,7 @@ class _TrackingCard extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 10),
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.label_outline),
|
||||
const Icon(Icons.label),
|
||||
const SizedBox(width: 10),
|
||||
Expanded(
|
||||
child: Column(
|
||||
|
||||
@@ -178,7 +178,7 @@ class _TagDetailSheetState extends ConsumerState<TagDetailSheet> {
|
||||
value: _formatLastSeen(tag.lastSeen!),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
FilledButton.tonal(
|
||||
OutlinedButton.icon(
|
||||
onPressed: () {
|
||||
final isTracking = trackedTag?.tagId == tag.tagId;
|
||||
ref.read(trackedTagProvider.notifier).state = isTracking
|
||||
@@ -189,21 +189,15 @@ class _TagDetailSheetState extends ConsumerState<TagDetailSheet> {
|
||||
GoRouter.of(context).go('/floorplan');
|
||||
}
|
||||
},
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(
|
||||
trackedTag?.tagId == tag.tagId
|
||||
? Icons.radar
|
||||
: Icons.radar_outlined,
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
trackedTag?.tagId == tag.tagId
|
||||
? 'Hide particle cloud'
|
||||
: 'View particle cloud',
|
||||
),
|
||||
],
|
||||
icon: Icon(
|
||||
trackedTag?.tagId == tag.tagId
|
||||
? Icons.blur_off
|
||||
: Icons.blur_on,
|
||||
),
|
||||
label: Text(
|
||||
trackedTag?.tagId == tag.tagId
|
||||
? 'Hide particle cloud'
|
||||
: 'View particle cloud',
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
Reference in New Issue
Block a user