From 55b750f623df662f69463b29b9c59bd77f62aa58 Mon Sep 17 00:00:00 2001 From: Faiz Hashmi Date: Tue, 8 Jul 2025 14:44:17 +0300 Subject: [PATCH] refactoring --- lib/home/priority_calls_components.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/home/priority_calls_components.dart b/lib/home/priority_calls_components.dart index 2f3ddbb..8055e2a 100644 --- a/lib/home/priority_calls_components.dart +++ b/lib/home/priority_calls_components.dart @@ -160,7 +160,9 @@ Widget noPatientInQueue({required ScreenOrientationEnum screenOrientationEnum}) child: AppText( "Awaiting Patients Arrival", fontFamily: 'Poppins-SemiBold.ttf', - fontSize: (screenOrientationEnum == ScreenOrientationEnum.portraitDown || screenOrientationEnum == ScreenOrientationEnum.portraitUp) ? SizeConfig.getWidthMultiplier() * 9 : SizeConfig.getWidthMultiplier() * 7, + fontSize: (screenOrientationEnum == ScreenOrientationEnum.portraitDown || screenOrientationEnum == ScreenOrientationEnum.portraitUp) + ? SizeConfig.getWidthMultiplier() * 9 + : SizeConfig.getWidthMultiplier() * 7, ), ), ], @@ -353,5 +355,7 @@ Widget priorityTicketsWithSideList({required List tickets, r ), ) ]; - return (appProvider.currentScreenRotation == ScreenOrientationEnum.portraitUp || appProvider.currentScreenRotation == ScreenOrientationEnum.portraitDown) ? Row(children: children) : Column(children: children); + return (appProvider.currentScreenRotation == ScreenOrientationEnum.portraitUp || appProvider.currentScreenRotation == ScreenOrientationEnum.portraitDown) + ? Row(children: children) + : Column(children: children); }