Skip to content

Commit 5135ef3

Browse files
committed
feat: remove Location Visibility from profile screen
1 parent d94eb29 commit 5135ef3

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

lib/src/features/profile/presentation/profile_screen.dart

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ class _ProfileScreenState extends ConsumerState<ProfileScreen> {
120120
color: AppTheme.onSurfaceVariant,
121121
),
122122
),
123+
const SizedBox(height: 8),
124+
Text(
125+
"ID: ${user.deviceId ?? "UNKNOWN"}",
126+
style: Theme.of(context).textTheme.labelSmall?.copyWith(
127+
color: AppTheme.onSurfaceVariant.withValues(alpha: 0.5),
128+
fontFamily: "monospace",
129+
),
130+
),
123131
const SizedBox(height: 40),
124132

125133
const SystemHealthCard(),
@@ -130,18 +138,6 @@ class _ProfileScreenState extends ConsumerState<ProfileScreen> {
130138
const SizedBox(height: 24),
131139

132140
// Settings Bento Grid
133-
_buildSettingCard(
134-
context: context,
135-
icon: Icons.radar,
136-
title: 'Location Visibility',
137-
subtitle: 'Broadcast device presence on active radar',
138-
trailing: Switch(
139-
value: user.isLocationVisible,
140-
activeTrackColor: AppTheme.primaryGold,
141-
onChanged: (val) => ref.read(profileControllerProvider.notifier).toggleLocationVisibility(val),
142-
),
143-
),
144-
const SizedBox(height: 16),
145141
_buildSettingCard(
146142
context: context,
147143
icon: Icons.notifications_active,

0 commit comments

Comments
 (0)