fixed jira tm-172 and pagination dialog design changed

This commit is contained in:
amirrezaghabeli
2025-10-02 10:10:13 +03:30
parent 720682105d
commit 5f1b939d95
14 changed files with 148 additions and 46 deletions
@@ -42,7 +42,11 @@ class _YourTendersTabletPageState extends State<YourTendersTabletPage>
return Scaffold(
key: key,
backgroundColor: AppColors.backgroundColor,
appBar: tabletAppBar(title: YourTendersStrings.yourTenders, key: key),
appBar: tabletAppBar(
title: YourTendersStrings.yourTenders,
key: key,
context: context,
),
drawer: const TabletNavigationWidget(currentIndex: 1),
body: SafeArea(
child: Center(
@@ -59,7 +63,7 @@ class _YourTendersTabletPageState extends State<YourTendersTabletPage>
),
SizedBox(height: 24.0.h()),
const FilterButton(platformType: PlatformType.tabletDesktop),
Expanded(
child: Consumer<YourTendersViewModel>(
builder: (context, viewModel, child) {
@@ -72,13 +76,13 @@ class _YourTendersTabletPageState extends State<YourTendersTabletPage>
),
);
}
if (viewModel.errorMessage != null) {
return Center(child: Text(viewModel.errorMessage!));
}
Widget content;
if (viewModel.selectedStatus ==
YourTendersStrings.likeTenders &&
viewModel.likedTendersData != null) {
@@ -108,14 +112,14 @@ class _YourTendersTabletPageState extends State<YourTendersTabletPage>
child: Text(YourTendersStrings.noTenders),
);
}
return Column(
children: [
Expanded(child: content),
SizedBox(height: 10.0.h()),
_listPagesControll(context, viewModel),
const SizedBox(height: 30.0),
],
);