|
|
@@ -9,6 +9,7 @@ enum CGMType: String, JSON, CaseIterable, Identifiable {
|
|
|
case dexcomG5
|
|
|
case simulator
|
|
|
case libreTransmitter
|
|
|
+ case glucoseDirect
|
|
|
|
|
|
var displayName: String {
|
|
|
switch self {
|
|
|
@@ -16,6 +17,8 @@ enum CGMType: String, JSON, CaseIterable, Identifiable {
|
|
|
return "Nightscout"
|
|
|
case .xdrip:
|
|
|
return "xDrip"
|
|
|
+ case .glucoseDirect:
|
|
|
+ return "Glucose Direct"
|
|
|
case .dexcomG6:
|
|
|
return "Dexcom G6"
|
|
|
case .dexcomG5:
|
|
|
@@ -33,6 +36,8 @@ enum CGMType: String, JSON, CaseIterable, Identifiable {
|
|
|
return nil
|
|
|
case .xdrip:
|
|
|
return URL(string: "xdripswift://")!
|
|
|
+ case .glucoseDirect:
|
|
|
+ return URL(string: "libredirect://")!
|
|
|
case .dexcomG6:
|
|
|
return URL(string: "dexcomg6://")!
|
|
|
case .dexcomG5:
|