diff --git a/Loop/Extensions/NSUserDefaults.swift b/Loop/Extensions/NSUserDefaults.swift index 3bb2c02186..bbbe068198 100644 --- a/Loop/Extensions/NSUserDefaults.swift +++ b/Loop/Extensions/NSUserDefaults.swift @@ -150,7 +150,7 @@ extension NSUserDefaults { return InsulinDataSource(rawValue: integerForKey(Key.PreferredInsulinDataSource.rawValue)) } set { - if let preferredInsulinDataSource = preferredInsulinDataSource { + if let preferredInsulinDataSource = newValue { setInteger(preferredInsulinDataSource.rawValue, forKey: Key.PreferredInsulinDataSource.rawValue) } else { removeObjectForKey(Key.PreferredInsulinDataSource.rawValue) diff --git a/Loop/Info.plist b/Loop/Info.plist index a1e7cea32c..ca8b5755a3 100644 --- a/Loop/Info.plist +++ b/Loop/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4.0 + 0.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/LoopTests/Info.plist b/LoopTests/Info.plist index e82cdb5f9e..e7ba0f3fa0 100644 --- a/LoopTests/Info.plist +++ b/LoopTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 0.4.0 + 0.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/WatchApp Extension/Info.plist b/WatchApp Extension/Info.plist index 65d1385130..0ba94752ab 100644 --- a/WatchApp Extension/Info.plist +++ b/WatchApp Extension/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType XPC! CFBundleShortVersionString - 0.4.0 + 0.4.1 CFBundleSignature ???? CFBundleVersion diff --git a/WatchApp/Info.plist b/WatchApp/Info.plist index 8438205d72..e42c5d6432 100644 --- a/WatchApp/Info.plist +++ b/WatchApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4.0 + 0.4.1 CFBundleSignature ???? CFBundleVersion