Skip to content

Commit a78197c

Browse files
authored
[COASTAL-1291] update for pluggable protocol (#12)
1 parent 726eae1 commit a78197c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

LoopSupportKitUI/LoopSupportUI.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import LoopKitUI
1313

1414
public final class LoopSupportUI: SupportUI {
1515

16-
public static var supportIdentifier: String = "LoopSupportUI"
16+
public static var pluginIdentifier: String = "LoopSupportUI"
1717

1818
private var analytics = LoopKitAnalytics.shared
1919

@@ -66,7 +66,6 @@ public final class LoopSupportUI: SupportUI {
6666
// LoopSupport also provides analytics
6767
extension LoopSupportUI: AnalyticsService {
6868

69-
7069
public static var localizedTitle = LocalizedString("LoopKit Analytics", comment: "Title for LoopKit Analytics")
7170

7271
public func recordAnalyticsEvent(_ name: String, withProperties properties: [AnyHashable : Any]?, outOfSession: Bool) {
@@ -89,6 +88,13 @@ extension LoopSupportUI: AnalyticsService {
8988
}
9089
set(newValue) {}
9190
}
91+
92+
public var stateDelegate: LoopKit.StatefulPluggableDelegate? {
93+
get {
94+
return nil
95+
}
96+
set(newValue) {}
97+
}
9298

9399
public var isOnboarded: Bool {
94100
return true

0 commit comments

Comments
 (0)