Skip to content

Commit 5797a4e

Browse files
DTPOMERSER-1001 Fix link and Update Privacy manifest
1 parent 8a9e27a commit 5797a4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ disabled_rules: # rule identifiers to exclude from running
99
- inclusive_language
1010
- trailing_whitespace
1111
- override_in_extension
12+
- redundant_void_return
1213

1314
type_name:
1415
max_length: # warning and error

Common/Sources/Extensions/UIAlertAction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public extension UIAlertAction {
4242
/// - Parameter viewController: a view needs to show the alert dialog
4343
/// - Returns: a cancel alert action with a pop back handler
4444
static func cancel(_ viewController: UIViewController) -> UIAlertAction {
45-
let handler = { (_: UIAlertAction) in
45+
let handler = { (_: UIAlertAction) -> Void in
4646
viewController.navigationController?.popViewController(animated: true) }
4747
return cancel(handler)
4848
}
@@ -60,7 +60,7 @@ public extension UIAlertAction {
6060
/// - Parameter viewController: a view needs to show the alert dialog
6161
/// - Returns: a close alert action with a pop back handler
6262
static func close(_ viewController: UIViewController) -> UIAlertAction {
63-
let handler = { (_: UIAlertAction) in
63+
let handler = { (_: UIAlertAction) -> Void in
6464
viewController.navigationController?.popViewController(animated: true) }
6565
return close(handler)
6666
}

0 commit comments

Comments
 (0)