From f9f61ef5b2b6ac7be32a135454c9c6ce7c3c0355 Mon Sep 17 00:00:00 2001 From: llsajjad Date: Sat, 13 Sep 2025 11:35:28 +0330 Subject: [PATCH] Fixed some design bug in dark mood and other --- lib/core/constants/assets.dart | 2 +- .../liked_tenders/pages/liked_tenders_desktop_page.dart | 4 +++- .../liked_tenders/pages/liked_tenders_tablet_page.dart | 4 +++- lib/views/notification/pages/d_notification_page.dart | 6 +++++- lib/views/notification/pages/t_notification_page.dart | 6 +++++- lib/views/profile/pages/d_profile_page.dart | 2 +- lib/views/shared/desktop_navigation_widget.dart | 4 ++-- 7 files changed, 20 insertions(+), 8 deletions(-) diff --git a/lib/core/constants/assets.dart b/lib/core/constants/assets.dart index ab40820..fd5a45c 100644 --- a/lib/core/constants/assets.dart +++ b/lib/core/constants/assets.dart @@ -66,6 +66,6 @@ class AssetsManager { //Liked tenders static const trash = 'assets/icons/trash.svg'; - static const arrowdownSmall = 'assets/icons/arrow_down_small.svg'; + static const arrowDownSmall = 'assets/icons/arrow_down_small.svg'; } diff --git a/lib/views/liked_tenders/pages/liked_tenders_desktop_page.dart b/lib/views/liked_tenders/pages/liked_tenders_desktop_page.dart index e892940..12c0fc2 100644 --- a/lib/views/liked_tenders/pages/liked_tenders_desktop_page.dart +++ b/lib/views/liked_tenders/pages/liked_tenders_desktop_page.dart @@ -165,6 +165,7 @@ class _LikedTendersDesktopPageState extends State { context: context, builder: (context) { return AlertDialog( + backgroundColor: AppColors.backgroundColor, title: const Text( LikedTendersStrings.selectPage, ), @@ -217,7 +218,8 @@ class _LikedTendersDesktopPageState extends State { ), SizedBox(width: 5.0.w()), SvgPicture.asset( - AssetsManager.arrowdownSmall, + AssetsManager.arrowDownSmall, + color: AppColors.grey80, ), SizedBox(width: 5.0.w()), ], diff --git a/lib/views/liked_tenders/pages/liked_tenders_tablet_page.dart b/lib/views/liked_tenders/pages/liked_tenders_tablet_page.dart index 6dc6ed6..3f73bd1 100644 --- a/lib/views/liked_tenders/pages/liked_tenders_tablet_page.dart +++ b/lib/views/liked_tenders/pages/liked_tenders_tablet_page.dart @@ -175,6 +175,7 @@ class _LikedTendersTabletPageState extends State { context: context, builder: (context) { return AlertDialog( + backgroundColor: AppColors.backgroundColor, title: const Text( LikedTendersStrings.selectPage, ), @@ -227,7 +228,8 @@ class _LikedTendersTabletPageState extends State { ), SizedBox(width: 5.0.w()), SvgPicture.asset( - AssetsManager.arrowdownSmall, + AssetsManager.arrowDownSmall, + color: AppColors.grey80, ), SizedBox(width: 5.0.w()), ], diff --git a/lib/views/notification/pages/d_notification_page.dart b/lib/views/notification/pages/d_notification_page.dart index 8438450..9d04738 100644 --- a/lib/views/notification/pages/d_notification_page.dart +++ b/lib/views/notification/pages/d_notification_page.dart @@ -120,6 +120,7 @@ class _DesktopNotificationPageState extends State context: context, builder: (context) { return AlertDialog( + backgroundColor: AppColors.backgroundColor, title: const Text('selectPage'), content: SizedBox( width: 200, @@ -165,7 +166,10 @@ class _DesktopNotificationPageState extends State ), ), SizedBox(width: 5.0.w()), - SvgPicture.asset(AssetsManager.arrowdownSmall), + SvgPicture.asset( + AssetsManager.arrowDownSmall, + color: AppColors.grey80, + ), SizedBox(width: 5.0.w()), ], ), diff --git a/lib/views/notification/pages/t_notification_page.dart b/lib/views/notification/pages/t_notification_page.dart index 2990dcf..afd18e6 100644 --- a/lib/views/notification/pages/t_notification_page.dart +++ b/lib/views/notification/pages/t_notification_page.dart @@ -119,6 +119,7 @@ class _TabletNotificationPageState extends State context: context, builder: (context) { return AlertDialog( + backgroundColor: AppColors.backgroundColor, title: const Text('selectPage'), content: SizedBox( width: 200, @@ -159,7 +160,10 @@ class _TabletNotificationPageState extends State ), ), SizedBox(width: 5.0.w()), - SvgPicture.asset(AssetsManager.arrowdownSmall), + SvgPicture.asset( + AssetsManager.arrowDownSmall, + color: AppColors.grey80, + ), SizedBox(width: 5.0.w()), ], ), diff --git a/lib/views/profile/pages/d_profile_page.dart b/lib/views/profile/pages/d_profile_page.dart index ad5b623..82e944c 100644 --- a/lib/views/profile/pages/d_profile_page.dart +++ b/lib/views/profile/pages/d_profile_page.dart @@ -67,7 +67,7 @@ class _DesktopProfilePageState extends State { return Column( children: [ DesktopNavigationWidget( - currentIndex: 2, // Tenders index + currentIndex: 4, // Tenders index ), SizedBox( width: 740, diff --git a/lib/views/shared/desktop_navigation_widget.dart b/lib/views/shared/desktop_navigation_widget.dart index b677742..5a4393c 100644 --- a/lib/views/shared/desktop_navigation_widget.dart +++ b/lib/views/shared/desktop_navigation_widget.dart @@ -102,9 +102,9 @@ class DesktopNavigationWidget extends StatelessWidget { _navigationItem( context: context, text: ProfileStrings.profileTitle, - isActive: currentIndex == 2, + isActive: currentIndex == 4, onTap: () { - if (currentIndex == 2) { + if (currentIndex == 4) { return; } else { Router.neglect(context, () => ProfileRouteData().go(context));