cleared console problems

This commit is contained in:
amirrezaghabeli
2025-09-16 08:36:03 +03:30
parent b6a3598cbf
commit c421f85c95
67 changed files with 236 additions and 196 deletions
+3 -3
View File
@@ -46,14 +46,14 @@ class _DesktopTendersPageState extends State<DesktopTendersPage> {
backgroundColor: AppColors.backgroundColor,
body: Column(
children: [
DesktopNavigationWidget(
const DesktopNavigationWidget(
currentIndex: 1, // Tenders index
),
Expanded(
child: Consumer<TendersViewModel>(
builder: (context, viewModel, child) {
if (viewModel.isLoading) {
return Expanded(
return const Expanded(
child: Center(
child: CircularProgressIndicator(
color: AppColors.jellyBean,
@@ -67,7 +67,7 @@ class _DesktopTendersPageState extends State<DesktopTendersPage> {
if ((viewModel.tendersResponse?.data?.tenders == null ||
viewModel.tendersResponse!.data!.tenders!.isEmpty) &&
viewModel.isLoading == false) {
return Center(child: Text(CommonStrings.noData));
return const Center(child: Text(CommonStrings.noData));
}
return SingleChildScrollView(
child: SizedBox(