Merge pull request 'fixed rported jira issues' (#127) from fix_issues into main

Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/127
This commit is contained in:
a.ghabeli
2025-09-14 12:09:23 +03:30
3 changed files with 43 additions and 31 deletions
@@ -120,7 +120,7 @@ class TenderDetailActions extends StatelessWidget {
? BaseButton(
isEnabled: true,
text: TenderDetailsStrings.tenderRejectButton,
textColor: AppColors.red10,
textColor: AppColors.errorColor,
backgroundColor: AppColors.backgroundColor,
borderWidth: 1,
onPressed: () {},
@@ -129,7 +129,7 @@ class TenderDetailActions extends StatelessWidget {
: BaseButton(
isEnabled: true,
text: TenderDetailsStrings.tenderRejectButton,
textColor: AppColors.red10,
textColor: AppColors.errorColor,
backgroundColor: AppColors.backgroundColor,
borderWidth: 1,
onPressed: () {
@@ -10,7 +10,7 @@ class ProfileStrings {
static const String registrationNumber = 'Registration No.';
static const String businessType = 'Business Type';
static const String founded = 'Founded';
static const String logout = 'Logout';
static const String logout = 'Log out';
static const String contracts = 'Contracts';
static const String notifications = 'Notifications';
}
@@ -141,7 +141,9 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
}
Widget _leftArrowButton() {
return InkWell(
return Visibility(
visible: currentPage != 1,
child: InkWell(
borderRadius: BorderRadius.circular(100),
onTap: _goToPreviousPage,
child: Container(
@@ -154,7 +156,11 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
alignment: Alignment.center,
child: SvgPicture.asset(
AssetsManager.arrowLeftSmall,
colorFilter: ColorFilter.mode(AppColors.iconColor, BlendMode.srcATop),
colorFilter: ColorFilter.mode(
AppColors.iconColor,
BlendMode.srcATop,
),
),
),
),
);
@@ -190,7 +196,9 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
}
Widget _rightArrowButton() {
return InkWell(
return Visibility(
visible: currentPage != widget.tenders.length,
child: InkWell(
borderRadius: BorderRadius.circular(100),
onTap: _goToNextPage,
child: Container(
@@ -203,7 +211,11 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
alignment: Alignment.center,
child: SvgPicture.asset(
AssetsManager.arrowRightSmall,
colorFilter: ColorFilter.mode(AppColors.iconColor, BlendMode.srcATop),
colorFilter: ColorFilter.mode(
AppColors.iconColor,
BlendMode.srcATop,
),
),
),
),
);