From 3c5647714b5724c3cc734eb7e4527080d001ad49 Mon Sep 17 00:00:00 2001 From: Paul Plant Date: Thu, 22 Sep 2022 20:55:15 +0200 Subject: [PATCH] set the default for the visual calibration assistant to false --- xdrip/Extensions/UserDefaults.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xdrip/Extensions/UserDefaults.swift b/xdrip/Extensions/UserDefaults.swift index d36101425..cb7b2aea4 100644 --- a/xdrip/Extensions/UserDefaults.swift +++ b/xdrip/Extensions/UserDefaults.swift @@ -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) } }