diff --git a/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Function.swift b/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Function.swift index c00eb1b9..6538dcee 100644 --- a/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Function.swift +++ b/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Function.swift @@ -2,8 +2,8 @@ import Foundation extension AppEvent { public static func buttonFunction(text: String, - section: String, - action: String) -> AppEvent { + section: String, + action: String) -> AppEvent { function( text: text, type: "Button", @@ -13,9 +13,9 @@ extension AppEvent { } public static func function(text: String, - type: String, - section: String, - action: String) -> AppEvent { + type: String, + section: String, + action: String) -> AppEvent { .init( name: "Function", params: [ diff --git a/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Navigation.swift b/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Navigation.swift index 9c4260a2..0f6ddde6 100644 --- a/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Navigation.swift +++ b/GOVKit/Sources/GOVKit/Extensions/Analytics/AppEvent+Navigation.swift @@ -2,9 +2,9 @@ import Foundation extension AppEvent { public static func navigation(text: String, - type: String, - external: Bool, - additionalParams: [String: Any?] = [:]) -> AppEvent { + type: String, + external: Bool, + additionalParams: [String: Any?] = [:]) -> AppEvent { let params: [String: Any?] = [ "text": text, "type": type, diff --git a/GOVKit/Sources/GOVKit/Extensions/Foundation/String+Extensions.swift b/GOVKit/Sources/GOVKit/Extensions/Foundation/String+Extensions.swift index 980b8c64..8cff508f 100644 --- a/GOVKit/Sources/GOVKit/Extensions/Foundation/String+Extensions.swift +++ b/GOVKit/Sources/GOVKit/Extensions/Foundation/String+Extensions.swift @@ -21,7 +21,7 @@ extension String { } public func localized(_ key: String, - comment: String = "") -> String { + comment: String = "") -> String { NSLocalizedString( key, tableName: tableName, diff --git a/GOVKit/Sources/GOVKit/Views/Common/TopAlignedBarButtonItem.swift b/GOVKit/Sources/GOVKit/Views/Common/TopAlignedBarButtonItem.swift index ee3a2881..1de3238e 100644 --- a/GOVKit/Sources/GOVKit/Views/Common/TopAlignedBarButtonItem.swift +++ b/GOVKit/Sources/GOVKit/Views/Common/TopAlignedBarButtonItem.swift @@ -5,8 +5,8 @@ public final class TopAlignedBarButtonItem: UIBarButtonItem { public let actionButton: UIButton public init(title: String, - tint: UIColor, - action: @escaping (UIAction) -> Void) { + tint: UIColor, + action: @escaping (UIAction) -> Void) { actionButton = UIButton( type: .system, primaryAction: .init(title: title, handler: action) diff --git a/RecentActivity/Sources/RecentActivity/Model/RecentActivity/ActivityItem.swift b/RecentActivity/Sources/RecentActivity/Model/RecentActivity/ActivityItem.swift index 18ec41dc..b88dd884 100644 --- a/RecentActivity/Sources/RecentActivity/Model/RecentActivity/ActivityItem.swift +++ b/RecentActivity/Sources/RecentActivity/Model/RecentActivity/ActivityItem.swift @@ -4,8 +4,8 @@ import GOVKit @objc(ActivityItem) public class ActivityItem: NSManagedObject, - Identifiable, - GroupedListRow { + Identifiable, + GroupedListRow { @nonobjc public class func fetchRequest() -> NSFetchRequest { let request: NSFetchRequest = .init( entityName: "ActivityItem"