Skip to content

Commit

Permalink
set the default for the visual calibration assistant to false
Browse files Browse the repository at this point in the history
  • Loading branch information
paulplant committed Feb 2, 2023
1 parent e9662d0 commit 3c56477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xdrip/Extensions/UserDefaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -859,12 +859,12 @@ extension UserDefaults {

/// should the calibration assistant be enabled?
@objc dynamic var showVisualCalibrationAssistant: Bool {
// default value for bool in userdefaults is false, as default we want the calibration assistant to be enabled
// default value for bool in userdefaults is false, as default we want the visual calibration assistant to be disabled
get {
return !bool(forKey: Key.showVisualCalibrationAssistant.rawValue)
return bool(forKey: Key.showVisualCalibrationAssistant.rawValue)
}
set {
set(!newValue, forKey: Key.showVisualCalibrationAssistant.rawValue)
set(newValue, forKey: Key.showVisualCalibrationAssistant.rawValue)
}
}

Expand Down

0 comments on commit 3c56477

Please sign in to comment.