Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #2455: Use official repo for 1Password extension. (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub authored and kylehickinson committed Apr 22, 2020
1 parent e922a94 commit 1ba2194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ github "garvankeeley/Deferred" "9.9.2"
github "SnapKit/SnapKit" "5.0.1"
github "rs/SDWebImage" "4.4.6"
github "swisspol/GCDWebServer" "3.5.2"
github "Sidetalker/onepassword-app-extension" "add-framework-support"
github "agilebits/onepassword-app-extension" "add-framework-support"
github "DaveWoodCom/XCGLogger" "7.0.0"
github "cezheng/Fuzi" "3.1.0"
github "SwiftyJSON/SwiftyJSON" "5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github "DaveWoodCom/XCGLogger" "7.0.0"
github "Sidetalker/onepassword-app-extension" "68a9d932a6373ca045984fbf4fb9a25aee43284c"
github "SnapKit/SnapKit" "5.0.1"
github "SwiftyJSON/SwiftyJSON" "5.0.0"
github "agilebits/onepassword-app-extension" "ad51de56e65af6ed3ede21e64de0cc91ffd92b0d"
github "airbnb/lottie-ios" "531eb22d47a9439a2344fdaf96832189f2c6e925"
github "cezheng/Fuzi" "3.1.0"
github "facebook/pop" "1.0.12"
Expand Down
4 changes: 2 additions & 2 deletions Client/Frontend/Share/ShareExtensionHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private extension ShareExtensionHelper {
}

// Add 1Password to share sheet
OnePasswordExtension.shared().createExtensionItem(forWebView: selectedWebView, completion: {(extensionItem, error) -> Void in
OnePasswordExtension.shared().createExtensionItem(for: selectedWebView, completion: {(extensionItem, error) -> Void in
if extensionItem == nil {
log.error("Failed to create the password manager extension item: \(error.debugDescription).")
return
Expand All @@ -136,7 +136,7 @@ private extension ShareExtensionHelper {
return
}

OnePasswordExtension.shared().fillReturnedItems(returnedItems, intoWebView: selectedWebView, completion: { (success, returnedItemsError) -> Void in
OnePasswordExtension.shared().fillReturnedItems(returnedItems, into: selectedWebView, completion: { (success, returnedItemsError) -> Void in
if !success {
log.error("Failed to fill item into webview: \(returnedItemsError ??? "nil").")
}
Expand Down

0 comments on commit 1ba2194

Please sign in to comment.