From 56f70ec6d596f407d7662f9bdf54e83920375ffe Mon Sep 17 00:00:00 2001 From: Nathaniel Hamming Date: Mon, 25 Sep 2023 15:27:50 -0300 Subject: [PATCH 1/2] [COASTAL-1291] plugin identifier is no longer class property (#18) --- LogglyServiceKit/LogglyService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogglyServiceKit/LogglyService.swift b/LogglyServiceKit/LogglyService.swift index 8bacf07..852c6b1 100644 --- a/LogglyServiceKit/LogglyService.swift +++ b/LogglyServiceKit/LogglyService.swift @@ -11,7 +11,7 @@ import LoopKit public final class LogglyService: Service { - public static let pluginIdentifier = "LogglyService" + public let pluginIdentifier = "LogglyService" public static let localizedTitle = LocalizedString("Loggly", comment: "The title of the Loggly service") From a655c1cdfc747097b9b1106f1f83d25cc65a9e77 Mon Sep 17 00:00:00 2001 From: Nathaniel Hamming Date: Wed, 30 Oct 2024 16:34:13 -0300 Subject: [PATCH 2/2] [PAL-818] service allowDebugFeatures (#20) --- LogglyServiceKitUI/LogglyService+UI.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LogglyServiceKitUI/LogglyService+UI.swift b/LogglyServiceKitUI/LogglyService+UI.swift index 698dbc4..f41fa0f 100644 --- a/LogglyServiceKitUI/LogglyService+UI.swift +++ b/LogglyServiceKitUI/LogglyService+UI.swift @@ -16,12 +16,12 @@ extension LogglyService: ServiceUI { public static var image: UIImage? { nil } - public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost) -> SetupUIResult + public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost, allowDebugFeatures: Bool) -> SetupUIResult { return .userInteractionRequired(ServiceNavigationController(rootViewController: LogglyServiceTableViewController(service: LogglyService(), for: .create))) } - public func settingsViewController(colorPalette: LoopUIColorPalette) -> ServiceViewController + public func settingsViewController(colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool) -> ServiceViewController { return ServiceNavigationController(rootViewController: LogglyServiceTableViewController(service: self, for: .update)) }