File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,21 @@ public final class LoopSupportUI: SupportUI {
5151 }
5252
5353 public weak var delegate : SupportUIDelegate ?
54+
55+ public func initializationComplete( for services: [ LoopKit . Service ] ) { }
56+
57+ public func configurationMenuItems( ) -> [ LoopKitUI . CustomMenuItem ] {
58+ let view = Button ( LocalizedString ( " Submit Bug Report " , comment: " Navigation link title for Submit Bug Report " ) , action: {
59+ let url = URL ( string: " https://github.com/LoopKit/Loop/issues " ) !
60+ self . delegate? . openURL ( url: url)
61+ } )
62+ return [ CustomMenuItem ( section: . support, view: AnyView ( view) ) ]
63+ }
64+
65+ public func loopWillReset( ) { }
66+
67+ public func loopDidReset( ) { }
68+
5469}
5570
5671// LoopSupport also provides analytics
You can’t perform that action at this time.
0 commit comments