some changes
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user