Skip to content

Commit

Permalink
Merge pull request #1797 from nextcloud/fix-swiftlint
Browse files Browse the repository at this point in the history
Fix Swiftlint error
  • Loading branch information
SystemKeeper authored Sep 11, 2024
2 parents d2375ad + 5823bc8 commit a845b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NextcloudTalk/UIControlExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Foundation
extension UIControl {

// See: https://stackoverflow.com/a/41438789
func addAction(for controlEvents: UIControl.Event = .touchUpInside, _ closure: @escaping() -> Void) {
func addAction(for controlEvents: UIControl.Event = .touchUpInside, _ closure: @escaping () -> Void) {
addAction(UIAction { (action: UIAction) in closure() }, for: controlEvents)
}
}

0 comments on commit a845b18

Please sign in to comment.