From 3e9a30b635d2d8a789faa010572ebe5a6661cd95 Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Fri, 13 Mar 2026 18:22:11 +0530 Subject: [PATCH] FIX_Minor Logo error --- lib/pages/changePassword.dart | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/lib/pages/changePassword.dart b/lib/pages/changePassword.dart index 0ccfbc2..abb80b3 100755 --- a/lib/pages/changePassword.dart +++ b/lib/pages/changePassword.dart @@ -307,7 +307,31 @@ class _changesPasswordState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ - // Removed desktop-only back icon and logo to eliminate extra top spacing + // Desktop-only: center "<" and logo in one row + if (Responsive.isDesktop(context)) + Row( + mainAxisAlignment: + MainAxisAlignment.center, + children: [ + InkWell( + onTap: () { + context.go('/home'); + }, + child: const Icon( + Icons.chevron_left, + color: Color(0xFF000000), + size: 30, + ), + ), + const SizedBox(width: 8), + Image.asset( + 'assets/nhance_app_logo.png', + width: 150, + height: 150, + // color: Colors.green, + ), + ], + ), SizedBox( height: Responsive.isDesktop(context) ? null @@ -422,8 +446,8 @@ class _changesPasswordState extends State { value.isEmpty) { return 'Please enter your old password'; } - if (value.length < 6) { - return 'Password must be at least 6 characters'; + if (value.length < 8) { + return 'Password must be at least 8 characters'; } if (!RegExp( r'^(?=.*[A-Z])(?=.*[0-9]).{6,}$')