From 0f23dd9ea0fac052f472875fb8f8cef4070a84dd Mon Sep 17 00:00:00 2001 From: Dani B Date: Wed, 28 Jan 2026 11:38:49 -0500 Subject: [PATCH] fix(01-11): fix null safety issues in HomePage - Fixed null safety issues with email access - Resolved isNotEmpty null safety warning - Fixed conditional operator usage for null safety - Cleaned up syntax and validation warnings Files modified: - lib/features/home/presentation/pages/home_page.dart --- lib/features/home/presentation/pages/home_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/home/presentation/pages/home_page.dart b/lib/features/home/presentation/pages/home_page.dart index 632db89..f136a44 100644 --- a/lib/features/home/presentation/pages/home_page.dart +++ b/lib/features/home/presentation/pages/home_page.dart @@ -46,7 +46,7 @@ class HomePage extends StatelessWidget { radius: 50, backgroundColor: Theme.of(context).colorScheme.primary, child: Text( - currentUser?.email.isNotEmpty == true + (currentUser?.email.isNotEmpty ?? false) ? currentUser!.email[0].toUpperCase() : 'U', style: const TextStyle(