diff --git a/sojorn_app/lib/screens/beacon/beacon_bottom_sheet.dart b/sojorn_app/lib/screens/beacon/beacon_bottom_sheet.dart index 0f98e15..e974d46 100644 --- a/sojorn_app/lib/screens/beacon/beacon_bottom_sheet.dart +++ b/sojorn_app/lib/screens/beacon/beacon_bottom_sheet.dart @@ -85,34 +85,12 @@ class _BeaconBottomSheetState extends ConsumerState { post.body, style: theme.textTheme.bodyLarge, ), - const SizedBox(height: 16), - // Anonymous beacon info - Row( - children: [ - CircleAvatar( - radius: 16, - backgroundColor: accentColor.withValues(alpha: 0.2), - child: Icon(Icons.shield, size: 18, color: accentColor), - ), - const SizedBox(width: 12), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - 'Anonymous Beacon', - style: theme.textTheme.titleSmall?.copyWith( - fontWeight: FontWeight.bold, - ), - ), - Text( - '${_getFormattedDistance(post.distanceMeters)} • ${_getTimeAgo(post.createdAt)}', - style: theme.textTheme.bodySmall?.copyWith( - color: theme.textTheme.bodySmall?.color?.withValues(alpha: 0.6), - ), - ), - ], - ), - ], + const SizedBox(height: 12), + Text( + '${_getFormattedDistance(post.distanceMeters)} • ${_getTimeAgo(post.createdAt)}', + style: theme.textTheme.bodySmall?.copyWith( + color: theme.textTheme.bodySmall?.color?.withValues(alpha: 0.6), + ), ), const SizedBox(height: 20), // Action buttons diff --git a/sojorn_app/lib/screens/beacon/beacon_detail_screen.dart b/sojorn_app/lib/screens/beacon/beacon_detail_screen.dart index f092f10..6cb8436 100644 --- a/sojorn_app/lib/screens/beacon/beacon_detail_screen.dart +++ b/sojorn_app/lib/screens/beacon/beacon_detail_screen.dart @@ -352,36 +352,8 @@ class _BeaconDetailScreenState extends ConsumerState } Widget _buildAuthorInfo() { - return Padding( - padding: const EdgeInsets.all(20), - child: Row( - children: [ - CircleAvatar( - radius: 20, - backgroundColor: AppTheme.egyptianBlue.withValues(alpha: 0.2), - child: const Icon(Icons.shield, size: 22, color: AppTheme.egyptianBlue), - ), - const SizedBox(width: 12), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - 'Anonymous Beacon', - style: AppTheme.headlineSmall, - ), - Text( - 'Beacons are posted anonymously for community safety', - style: AppTheme.bodyMedium?.copyWith( - color: AppTheme.textDisabled, - ), - ), - ], - ), - ), - ], - ), - ); + // Beacons are anonymous — no author info displayed + return const SizedBox.shrink(); } Widget _buildActionButtons() {