Fixed some design bug in dark mood and other
This commit is contained in:
@@ -66,6 +66,6 @@ class AssetsManager {
|
|||||||
|
|
||||||
//Liked tenders
|
//Liked tenders
|
||||||
static const trash = 'assets/icons/trash.svg';
|
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';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ class _LikedTendersDesktopPageState extends State<LikedTendersDesktopPage> {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
backgroundColor: AppColors.backgroundColor,
|
||||||
title: const Text(
|
title: const Text(
|
||||||
LikedTendersStrings.selectPage,
|
LikedTendersStrings.selectPage,
|
||||||
),
|
),
|
||||||
@@ -217,7 +218,8 @@ class _LikedTendersDesktopPageState extends State<LikedTendersDesktopPage> {
|
|||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
SvgPicture.asset(
|
SvgPicture.asset(
|
||||||
AssetsManager.arrowdownSmall,
|
AssetsManager.arrowDownSmall,
|
||||||
|
color: AppColors.grey80,
|
||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ class _LikedTendersTabletPageState extends State<LikedTendersTabletPage> {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
backgroundColor: AppColors.backgroundColor,
|
||||||
title: const Text(
|
title: const Text(
|
||||||
LikedTendersStrings.selectPage,
|
LikedTendersStrings.selectPage,
|
||||||
),
|
),
|
||||||
@@ -227,7 +228,8 @@ class _LikedTendersTabletPageState extends State<LikedTendersTabletPage> {
|
|||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
SvgPicture.asset(
|
SvgPicture.asset(
|
||||||
AssetsManager.arrowdownSmall,
|
AssetsManager.arrowDownSmall,
|
||||||
|
color: AppColors.grey80,
|
||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ class _DesktopNotificationPageState extends State<DesktopNotificationPage>
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
backgroundColor: AppColors.backgroundColor,
|
||||||
title: const Text('selectPage'),
|
title: const Text('selectPage'),
|
||||||
content: SizedBox(
|
content: SizedBox(
|
||||||
width: 200,
|
width: 200,
|
||||||
@@ -165,7 +166,10 @@ class _DesktopNotificationPageState extends State<DesktopNotificationPage>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
SvgPicture.asset(AssetsManager.arrowdownSmall),
|
SvgPicture.asset(
|
||||||
|
AssetsManager.arrowDownSmall,
|
||||||
|
color: AppColors.grey80,
|
||||||
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ class _TabletNotificationPageState extends State<TabletNotificationPage>
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return AlertDialog(
|
return AlertDialog(
|
||||||
|
backgroundColor: AppColors.backgroundColor,
|
||||||
title: const Text('selectPage'),
|
title: const Text('selectPage'),
|
||||||
content: SizedBox(
|
content: SizedBox(
|
||||||
width: 200,
|
width: 200,
|
||||||
@@ -159,7 +160,10 @@ class _TabletNotificationPageState extends State<TabletNotificationPage>
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
SvgPicture.asset(AssetsManager.arrowdownSmall),
|
SvgPicture.asset(
|
||||||
|
AssetsManager.arrowDownSmall,
|
||||||
|
color: AppColors.grey80,
|
||||||
|
),
|
||||||
SizedBox(width: 5.0.w()),
|
SizedBox(width: 5.0.w()),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ class _DesktopProfilePageState extends State<DesktopProfilePage> {
|
|||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
DesktopNavigationWidget(
|
DesktopNavigationWidget(
|
||||||
currentIndex: 2, // Tenders index
|
currentIndex: 4, // Tenders index
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 740,
|
width: 740,
|
||||||
|
|||||||
@@ -102,9 +102,9 @@ class DesktopNavigationWidget extends StatelessWidget {
|
|||||||
_navigationItem(
|
_navigationItem(
|
||||||
context: context,
|
context: context,
|
||||||
text: ProfileStrings.profileTitle,
|
text: ProfileStrings.profileTitle,
|
||||||
isActive: currentIndex == 2,
|
isActive: currentIndex == 4,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (currentIndex == 2) {
|
if (currentIndex == 4) {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
Router.neglect(context, () => ProfileRouteData().go(context));
|
Router.neglect(context, () => ProfileRouteData().go(context));
|
||||||
|
|||||||
Reference in New Issue
Block a user