diff --git a/CGMBLEKitG5Plugin/Info.plist b/CGMBLEKitG5Plugin/Info.plist
index 844749bb..9db80e4b 100644
--- a/CGMBLEKitG5Plugin/Info.plist
+++ b/CGMBLEKitG5Plugin/Info.plist
@@ -26,5 +26,7 @@
Dexcom G5
com.loopkit.Loop.CGMManagerIdentifier
DexG5Transmitter
+ com.loopkit.Loop.DeviceManufacturer
+ Dexcom
diff --git a/CGMBLEKitG6Plugin/Info.plist b/CGMBLEKitG6Plugin/Info.plist
index 43ff83ac..ebc4d51e 100644
--- a/CGMBLEKitG6Plugin/Info.plist
+++ b/CGMBLEKitG6Plugin/Info.plist
@@ -26,5 +26,7 @@
Dexcom G6 / ONE
com.loopkit.Loop.CGMManagerIdentifier
DexG6Transmitter
+ com.loopkit.Loop.DeviceManufacturer
+ Dexcom
diff --git a/CGMBLEKitUI/Assets.xcassets/g5.imageset/Contents.json b/CGMBLEKitUI/Assets.xcassets/g5.imageset/Contents.json
new file mode 100644
index 00000000..568684ba
--- /dev/null
+++ b/CGMBLEKitUI/Assets.xcassets/g5.imageset/Contents.json
@@ -0,0 +1,12 @@
+{
+ "images" : [
+ {
+ "filename" : "g5.png",
+ "idiom" : "universal"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/CGMBLEKitUI/Assets.xcassets/g5.imageset/g5.png b/CGMBLEKitUI/Assets.xcassets/g5.imageset/g5.png
new file mode 100644
index 00000000..d1c699d8
Binary files /dev/null and b/CGMBLEKitUI/Assets.xcassets/g5.imageset/g5.png differ
diff --git a/CGMBLEKitUI/TransmitterManager+UI.swift b/CGMBLEKitUI/TransmitterManager+UI.swift
index 5c595e0e..2e113b1a 100644
--- a/CGMBLEKitUI/TransmitterManager+UI.swift
+++ b/CGMBLEKitUI/TransmitterManager+UI.swift
@@ -16,6 +16,10 @@ extension G5CGMManager: CGMManagerUI {
return nil
}
+ public static var pickerImage: UIImage? {
+ return UIImage(named: "g5", in: Bundle(for: TransmitterSetupViewController.self), compatibleWith: nil)
+ }
+
public static func setupViewController(bluetoothProvider: BluetoothProvider, displayGlucosePreference: DisplayGlucosePreference, colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool, prefersToSkipUserInteraction: Bool = false) -> SetupUIResult {
let setupVC = TransmitterSetupViewController.instantiateFromStoryboard()
setupVC.cgmManagerType = self
@@ -54,6 +58,10 @@ extension G6CGMManager: CGMManagerUI {
return nil
}
+ public static var pickerImage: UIImage? {
+ return UIImage(named: "g6", in: Bundle(for: TransmitterSetupViewController.self), compatibleWith: nil)
+ }
+
public static func setupViewController(bluetoothProvider: BluetoothProvider, displayGlucosePreference: DisplayGlucosePreference, colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool, prefersToSkipUserInteraction: Bool = false) -> SetupUIResult {
let setupVC = TransmitterSetupViewController.instantiateFromStoryboard()
setupVC.cgmManagerType = self