From ab535f0d7f78b7b28af479961fa1f05879b7f689 Mon Sep 17 00:00:00 2001 From: Faiz Hashmi Date: Thu, 7 Aug 2025 09:21:10 +0300 Subject: [PATCH] Resolved Next Prayer issue (8.3) --- lib/constants/app_constants.dart | 2 +- lib/view_models/screen_config_view_model.dart | 2 ++ .../components/priority_tickets_sidelist.dart | 8 +------- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/constants/app_constants.dart b/lib/constants/app_constants.dart index d363a9b..5866349 100644 --- a/lib/constants/app_constants.dart +++ b/lib/constants/app_constants.dart @@ -106,7 +106,7 @@ class AppConstants { static String testIP = '12.4.5.1'; // projectID.QlineType.ScreenType.AnyNumber (1 to 10) static int thresholdForListUI = 3; - static double currentBuildVersion = 8.2; + static double currentBuildVersion = 8.3; static double clearLogsHoursThreshold = 48; } diff --git a/lib/view_models/screen_config_view_model.dart b/lib/view_models/screen_config_view_model.dart index 5e56d2e..a668ce5 100644 --- a/lib/view_models/screen_config_view_model.dart +++ b/lib/view_models/screen_config_view_model.dart @@ -324,6 +324,8 @@ class ScreenConfigViewModel extends ChangeNotifier { } lastChecked = now; } + + getNextPrayerToShow(); }); } diff --git a/lib/views/main_queue_screen/components/priority_tickets_sidelist.dart b/lib/views/main_queue_screen/components/priority_tickets_sidelist.dart index 29c804e..64a9019 100644 --- a/lib/views/main_queue_screen/components/priority_tickets_sidelist.dart +++ b/lib/views/main_queue_screen/components/priority_tickets_sidelist.dart @@ -202,12 +202,6 @@ class PriorityTicketsWithSidelist extends StatelessWidget { ), ) ]; - return (screenOrientationEnum == ScreenOrientationEnum.portraitUp || screenOrientationEnum == ScreenOrientationEnum.portraitDown) - ? Row( - children: children, - ) - : Column( - children: children, - ); + return (screenOrientationEnum == ScreenOrientationEnum.portraitUp || screenOrientationEnum == ScreenOrientationEnum.portraitDown) ? Row(children: children) : Column(children: children); } }