Update to the maintenance branches of the submodules

This commit is contained in:
Maurice Parker
2020-07-28 17:47:52 -05:00
parent 7f60b3d330
commit e672f6c5ac
6 changed files with 7 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ class OpenInSafariActivity: UIActivity {
}
override func perform() {
guard let url = activityItems?.firstElementPassingTest({ $0 is URL }) as? URL else {
guard let url = activityItems?.first(where: { $0 is URL }) as? URL else {
activityDidFinish(false)
return
}