Use Self for internal static access
This commit is contained in:
parent
3eea063d61
commit
831ffe2235
3 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ public extension UIAlertAction {
|
|||
let action = UIAlertAction(title: keyID, style: .default, handler: handler)
|
||||
selectKeyAlert.addAction(action)
|
||||
}
|
||||
selectKeyAlert.addAction(UIAlertAction.cancelAndPopView(controller: controller))
|
||||
selectKeyAlert.addAction(Self.cancelAndPopView(controller: controller))
|
||||
controller.present(selectKeyAlert, animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue