fix : state our/buyer conformation in list item

This commit is contained in:
2025-07-15 09:34:05 +03:30
parent 75738a154a
commit 3bc87340d4

View File

@@ -55,6 +55,7 @@ class SalesInProvincePage extends GetView<SalesInProvinceLogic> {
secondChild: itemListExpandedWidget(item, index), secondChild: itemListExpandedWidget(item, index),
labelColor: AppColor.blueLight, labelColor: AppColor.blueLight,
labelIcon: Assets.vec.timerSvg.path, labelIcon: Assets.vec.timerSvg.path,
labelIconColor: item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
); );
}, controller.isExpandedList); }, controller.isExpandedList);
}, },
@@ -193,12 +194,21 @@ class SalesInProvincePage extends GetView<SalesInProvinceLogic> {
), ),
Spacer(), Spacer(),
Text( Text(
'در انتظار', item.registrationCode == null ? 'در انتظار' : 'در انتظار تایید خریدار',
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: AppFonts.yekan10.copyWith(color: AppColor.darkGreyDark), style: AppFonts.yekan10.copyWith(
color: item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
),
), ),
SizedBox(width: 7), SizedBox(width: 7),
Assets.vec.clockSvg.svg(width: 16.w, height: 16.h), Assets.vec.clockSvg.svg(
width: 16.w,
height: 16.h,
colorFilter: ColorFilter.mode(
item.registrationCode == null ? AppColor.darkGreyDark : AppColor.error,
BlendMode.srcIn,
),
),
], ],
), ),
Container( Container(