some changes

This commit is contained in:
amirrezaghabeli
2025-09-25 11:18:40 +03:30
parent 1bb85af336
commit d6296e0b83
5 changed files with 124 additions and 107 deletions
+4 -2
View File
@@ -47,8 +47,10 @@ class _MobileTendersPageState extends State<MobileTendersPage> {
child: Consumer<TendersViewModel>(
builder: (context, viewModel, child) {
if (viewModel.isLoading) {
return const Center(
child: CircularProgressIndicator(color: AppColors.jellyBean),
return const Expanded(
child: Center(
child: CircularProgressIndicator(color: AppColors.jellyBean),
),
);
}
if (viewModel.errorMessage != null) {
+1 -1
View File
@@ -144,7 +144,7 @@ class TenderCard extends StatelessWidget {
),
),
Text(
timeConvertor(tender.tenderDeadline ?? 0),
timeConvertor(tender.submissionDeadline ?? 0),
style: TextStyle(
color: AppColors.grey80,
fontSize: 14.0.sp(),