Skip to content

Commit

Permalink
Fix brave/brave-ios#8594: "Scan QR Code" from quick action to open a …
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed Jan 5, 2024
1 parent 54f06da commit 443dbb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Brave/Frontend/Browser/QuickActions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public class QuickActions: NSObject {
}

fileprivate func handleScanQR(withBrowserViewController bvc: BrowserViewController) {
// Open a new tab when Scan QR code is executed from quick long press action
bvc.openBlankNewTab(attemptLocationFieldFocus: false, isPrivate: false)
bvc.scanQRCode()
}
}

0 comments on commit 443dbb8

Please sign in to comment.