From 3857023d43b3a2d0586ba89bb6b2038aead02e12 Mon Sep 17 00:00:00 2001 From: stopflock Date: Sat, 14 Mar 2026 18:11:43 -0500 Subject: [PATCH] Fix deprecation warning --- lib/screens/about_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/about_screen.dart b/lib/screens/about_screen.dart index 1554b55..a1f2379 100644 --- a/lib/screens/about_screen.dart +++ b/lib/screens/about_screen.dart @@ -215,7 +215,7 @@ class AboutScreen extends StatelessWidget { /// Dev-only nuclear reset button (only visible in debug mode) Widget _buildDevNuclearResetButton(BuildContext context) { return Card( - color: Theme.of(context).colorScheme.errorContainer.withOpacity(0.1), + color: Theme.of(context).colorScheme.errorContainer.withValues(alpha: 0.1), child: Padding( padding: const EdgeInsets.all(16.0), child: Column( @@ -242,7 +242,7 @@ class AboutScreen extends StatelessWidget { Text( 'These tools are only available in debug mode for development and troubleshooting.', style: Theme.of(context).textTheme.bodySmall?.copyWith( - color: Theme.of(context).colorScheme.onSurface.withOpacity(0.7), + color: Theme.of(context).colorScheme.onSurface.withValues(alpha: 0.7), ), ), const SizedBox(height: 16),