Skip to content

Commit

Permalink
refactor: Update drain plug question wording and function names
Browse files Browse the repository at this point in the history
- Change drain plug question to Was the drain plug already removed when arrived at the inspection station?
- Change suggested and updated function naming
  • Loading branch information
PaulGarewal committed Nov 22, 2024
1 parent d5536da commit 04f4a53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ipad/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
ApplicationLogger.defalutLogger.start()
//////
// Keyboard settings
IQKeyboardManager.shared.enable = true
IQKeyboardManager.shared.isEnabled = true
IQKeyboardManager.shared.resignOnTouchOutside = true
IQKeyboardManager.shared.enableAutoToolbar = false
print("documents = \(FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!)")
Expand Down
2 changes: 1 addition & 1 deletion ipad/Constants/AppRemoteAPIConst.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class RemoteURLManager {
static var `default` = {
// Here We Can use Target Flag to customize
// Switch Env
return RemoteURLManager(.prod)
return RemoteURLManager(.dev)
}()

init(_ env: RemoteEnv) {
Expand Down
2 changes: 1 addition & 1 deletion ipad/Constants/StringConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct WatercraftFieldHeaderConstants {
static let failedToStop = "Watercraft pulled over for failing to stop at the inspection station"
static let ticketIssued = "Violation ticket issued"
static let watercraftHasDrainplugs = "Does the watercraft have a drain plug located on the lower transom? *"
static let drainplugRemovedAtInspection = "Was the drain plug removed at the time of inspection? *"
static let drainplugRemovedAtInspection = "Was the drain plug already removed when arrived at the inspection station? *"
}
struct HighriskAssessmentFields {
static let highriskAIS = "The watercraft is NOT Clean, Drain, Dry after full inspection and further action must be taken AND/OR a full inspection can not be completed."
Expand Down
2 changes: 1 addition & 1 deletion ipad/Views/Input Modal/InputModal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class InputModal: ModalView, Theme {
autoFill()
DispatchQueue.main.asyncAfter(deadline: .now() + (SettingsConstants.animationDuration + 0.1)) {
self.layoutIfNeeded()
IQKeyboardManager.shared.keyboardDistanceFromTextField = self.getDistanceFromField()
IQKeyboardManager.shared.keyboardDistance = self.getDistanceFromField()
self.input.becomeFirstResponder()
}
}
Expand Down

0 comments on commit 04f4a53

Please sign in to comment.