Skip to content

Commit

Permalink
Fix code alignment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdubey committed Jan 8, 2025
1 parent f709e1b commit fba0271
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extension String {
}

public func localized(_ key: String,
comment: String = "") -> String {
comment: String = "") -> String {
NSLocalizedString(
key,
tableName: tableName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import GOVKit

@objc(ActivityItem)
public class ActivityItem: NSManagedObject,
Identifiable,
GroupedListRow {
Identifiable,
GroupedListRow {
@nonobjc public class func fetchRequest() -> NSFetchRequest<ActivityItem> {
let request: NSFetchRequest<ActivityItem> = .init(
entityName: "ActivityItem"
Expand Down

0 comments on commit fba0271

Please sign in to comment.