refactor: improve specialization card layout and unify chat screen header and navigation with home screen components.
This commit is contained in:
@@ -163,7 +163,10 @@ class _MenuDrawer extends ConsumerWidget {
|
||||
context,
|
||||
icon: Icons.mail_outline,
|
||||
label: 'Contact',
|
||||
onTap: () => Navigator.pop(context),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
context.push('/contact');
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
const Divider(color: AppColors.divider, height: 1),
|
||||
@@ -174,13 +177,19 @@ class _MenuDrawer extends ConsumerWidget {
|
||||
context,
|
||||
icon: Icons.person_outline,
|
||||
label: 'Account Settings',
|
||||
onTap: () => Navigator.pop(context),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
context.push('/profile');
|
||||
},
|
||||
),
|
||||
_buildMenuItem(
|
||||
context,
|
||||
icon: Icons.notifications_outlined,
|
||||
label: 'Notification Settings',
|
||||
onTap: () => Navigator.pop(context),
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
context.push('/profile');
|
||||
},
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
const Divider(color: AppColors.divider, height: 1),
|
||||
|
||||
Reference in New Issue
Block a user