Skip to content

Commit

Permalink
[PAL-818] service allowDebugFeatures (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhamming authored Oct 30, 2024
1 parent 8878b45 commit 28516d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AmplitudeServiceKitUI/AmplitudeService+UI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ extension AmplitudeService: ServiceUI {
UIImage(named: "amplitude_logo", in: Bundle(for: AmplitudeServiceTableViewController.self), compatibleWith: nil)!
}

public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost) -> SetupUIResult<ServiceViewController, ServiceUI>
public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost, allowDebugFeatures: Bool) -> SetupUIResult<ServiceViewController, ServiceUI>
{
return .userInteractionRequired(ServiceNavigationController(rootViewController: AmplitudeServiceTableViewController(service: AmplitudeService(), for: .create)))
}

public func settingsViewController(colorPalette: LoopUIColorPalette) -> ServiceViewController
public func settingsViewController(colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool) -> ServiceViewController
{
return ServiceNavigationController(rootViewController: AmplitudeServiceTableViewController(service: self, for: .update))
}
Expand Down

0 comments on commit 28516d2

Please sign in to comment.