pull/324/head
haroon amjad 2 months ago
parent 227dd407f5
commit 82dad582c4

@ -44,7 +44,7 @@ class AppState {
AuthenticatedUser? _authenticatedRootUser; AuthenticatedUser? _authenticatedRootUser;
AuthenticatedUser? _authenticatedChildUser; AuthenticatedUser? _authenticatedChildUser;
bool isPaytabsEnabled = false; bool isPaytabsEnabled = true;
int? _superUserID; int? _superUserID;
bool isChildLoggedIn = false; bool isChildLoggedIn = false;

@ -1179,7 +1179,7 @@ class _LandingPageState extends State<LandingPage> {
}, },
backgroundColor: AppColors.warningColorYellow.withValues(alpha: 0.20), backgroundColor: AppColors.warningColorYellow.withValues(alpha: 0.20),
textColor: AppColors.alertColor, textColor: AppColors.alertColor,
borderColor: AppColors.infoBannerBgColor, borderColor: AppColors.warningColorYellow.withValues(alpha: 0.01),
fontSize: 12.f, fontSize: 12.f,
fontWeight: FontWeight.w600, fontWeight: FontWeight.w600,
borderRadius: 12.r, borderRadius: 12.r,

@ -78,7 +78,8 @@ class _TriagePageState extends State<TriagePage> {
} }
// Case 2: Should stop flag is true OR Case 3: Probability >= 70% OR Case 4: 7 or more questions answered // Case 2: Should stop flag is true OR Case 3: Probability >= 70% OR Case 4: 7 or more questions answered
if (highestProbability >= 70.0 || viewModel.triageQuestionCount >= 30) { // if (highestProbability >= 70.0 || viewModel.triageQuestionCount >= 30) {
if (highestProbability >= 70.0 || viewModel.triageQuestionCount >= 30 || viewModel.shouldStopTriage) {
// Navigate to results/possible conditions screen // Navigate to results/possible conditions screen
context.navigateWithName(AppRoutes.possibleConditionsPage); context.navigateWithName(AppRoutes.possibleConditionsPage);
return; return;

Loading…
Cancel
Save