Removes return statements that are not needed.

This commit is contained in:
Stuart Breckenridge 2020-05-13 13:03:51 +08:00
parent 58575331dd
commit f153643273
No known key found for this signature in database
GPG Key ID: 977FF9C8CE7AB207
1 changed files with 0 additions and 3 deletions

View File

@ -67,17 +67,14 @@ struct MarkAsReadAlertController {
if let barButtonItem = sourceType as? UIBarButtonItem { if let barButtonItem = sourceType as? UIBarButtonItem {
alertController.popoverPresentationController?.barButtonItem = barButtonItem alertController.popoverPresentationController?.barButtonItem = barButtonItem
return alertController
} }
if let rect = sourceType as? CGRect { if let rect = sourceType as? CGRect {
alertController.popoverPresentationController?.sourceRect = rect alertController.popoverPresentationController?.sourceRect = rect
return alertController
} }
if let view = sourceType as? UIView { if let view = sourceType as? UIView {
alertController.popoverPresentationController?.sourceView = view alertController.popoverPresentationController?.sourceView = view
return alertController
} }
return alertController return alertController