fixed emty list text ans base button loading
This commit is contained in:
@@ -39,7 +39,7 @@ class BaseButton extends StatelessWidget {
|
||||
width: double.infinity,
|
||||
height: 55.0.h(),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.mainBlue,
|
||||
color: AppColors.backgroundColor,
|
||||
borderRadius: BorderRadius.circular(28.0.w()),
|
||||
),
|
||||
child: Center(
|
||||
|
||||
@@ -12,7 +12,7 @@ class ApprovedTenders extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return approvedTenders.data == null
|
||||
? const Center(child: Text('No data available'))
|
||||
? const Center(child: Text('No approved projects yet.'))
|
||||
: ListView.builder(
|
||||
padding: const EdgeInsets.only(top: 20),
|
||||
itemCount: approvedTenders.data!.length,
|
||||
|
||||
Reference in New Issue
Block a user