From f3d0f7b7def0d2da1859dc5282bc7e866aefde87 Mon Sep 17 00:00:00 2001 From: LocalNewsTV <62873746+LocalNewsTV@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:32:34 -0700 Subject: [PATCH 1/2] Add conditional so Validation doesnt trigger field in area where field isn't present --- .../WatercraftInspectionViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipad/ViewControllers/Watercraft Inspections/WatercraftInspectionViewController.swift b/ipad/ViewControllers/Watercraft Inspections/WatercraftInspectionViewController.swift index 1d6efde..8d524d4 100644 --- a/ipad/ViewControllers/Watercraft Inspections/WatercraftInspectionViewController.swift +++ b/ipad/ViewControllers/Watercraft Inspections/WatercraftInspectionViewController.swift @@ -438,7 +438,7 @@ class WatercraftInspectionViewController: BaseViewController { Validation( type: .watercraftHasDrainplugsInteracted, errorMessage: .errorWatercraftHasDrainplugsInteracted, - condition: !model.watercraftHasDrainplugsInteracted, + condition: isPassportHolderNewOrLaunched && !model.watercraftHasDrainplugsInteracted, section: .inspectionDetails ), Validation( From 5d3e51f0ba1043d272aa8ac6cd143739ee0404b8 Mon Sep 17 00:00:00 2001 From: LocalNewsTV <62873746+LocalNewsTV@users.noreply.github.com> Date: Thu, 13 Jun 2024 09:33:49 -0700 Subject: [PATCH 2/2] Update build number --- ipad.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipad.xcodeproj/project.pbxproj b/ipad.xcodeproj/project.pbxproj index 2e07b9f..d796fba 100644 --- a/ipad.xcodeproj/project.pbxproj +++ b/ipad.xcodeproj/project.pbxproj @@ -2059,7 +2059,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.8; + MARKETING_VERSION = 2.8.1; PRODUCT_BUNDLE_IDENTIFIER = ca.bc.gov.InvasivesBC; PRODUCT_NAME = Inspect; PROVISIONING_PROFILE_SPECIFIER = "InvasivesBC Muscles - 2023/24"; @@ -2089,7 +2089,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.8; + MARKETING_VERSION = 2.8.1; PRODUCT_BUNDLE_IDENTIFIER = ca.bc.gov.InvasivesBC; PRODUCT_NAME = Inspect; PROVISIONING_PROFILE_SPECIFIER = "InvasivesBC Muscles - 2023/24";