Skip to content

Commit a62e017

Browse files
committed
Merge remote-tracking branch 'tidepool/dev' into merge-from-tidepool
2 parents e597630 + 4814070 commit a62e017

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ShareClientUI/ShareClientManager+UI.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@
55
// Copyright © 2018 LoopKit Authors. All rights reserved.
66
//
77

8+
import SwiftUI
89
import LoopKit
910
import LoopKitUI
1011
import HealthKit
1112
import ShareClient
1213

1314
extension ShareClientManager: CGMManagerUI {
14-
public static func setupViewController() -> (UIViewController & CGMManagerSetupViewController & CompletionNotifying)? {
15+
public static func setupViewController(glucoseTintColor: Color, guidanceColors: GuidanceColors) -> (UIViewController & CGMManagerSetupViewController & CompletionNotifying)? {
1516
return ShareClientSetupViewController()
1617
}
1718

18-
public func settingsViewController(for glucoseUnit: HKUnit) -> (UIViewController & CompletionNotifying) {
19+
public func settingsViewController(for glucoseUnit: HKUnit, glucoseTintColor: Color, guidanceColors: GuidanceColors) -> (UIViewController & CompletionNotifying) {
1920
let settings = ShareClientSettingsViewController(cgmManager: self, glucoseUnit: glucoseUnit, allowsDeletion: true)
2021
let nav = SettingsNavigationViewController(rootViewController: settings)
2122
return nav

0 commit comments

Comments
 (0)