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,}$')