mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 20:16:54 +01:00
Removes return statements that are not needed.
This commit is contained in:
parent
58575331dd
commit
f153643273
@ -67,17 +67,14 @@ struct MarkAsReadAlertController {
|
||||
|
||||
if let barButtonItem = sourceType as? UIBarButtonItem {
|
||||
alertController.popoverPresentationController?.barButtonItem = barButtonItem
|
||||
return alertController
|
||||
}
|
||||
|
||||
if let rect = sourceType as? CGRect {
|
||||
alertController.popoverPresentationController?.sourceRect = rect
|
||||
return alertController
|
||||
}
|
||||
|
||||
if let view = sourceType as? UIView {
|
||||
alertController.popoverPresentationController?.sourceView = view
|
||||
return alertController
|
||||
}
|
||||
|
||||
return alertController
|
||||
|
Loading…
x
Reference in New Issue
Block a user