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

Commit

Permalink
Removing Commented out Button Code
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed Jul 6, 2021
1 parent f89e4c6 commit 5df5996
Showing 1 changed file with 12 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,18 @@ import Shared
extension BrowserViewController {
func featuresMenuSection(_ menuController: MenuViewController) -> some View {
VStack(spacing: 0) {
//<<<<<<< HEAD
// VPNMenuButton(vpnProductInfo: self.vpnProductInfo) { vc in
// (self.presentedViewController as? MenuViewController)?
// .pushInnerMenu(vc)
// }
//=======
VPNMenuButton(vpnProductInfo: self.vpnProductInfo,
displayVPNDestination: { vc in
(self.presentedViewController as? MenuViewController)?
.pushInnerMenu(vc)
},
enableInstalledVPN: { [unowned menuController] in
/// Donate Enable VPN Activity for suggestions
let enableVPNActivity = ActivityShortcutManager.shared.createShortcutActivity(type: .enableBraveVPN)
menuController.userActivity = enableVPNActivity
enableVPNActivity.becomeCurrent()
})
//>>>>>>> 5225e8a6d (Fixing Merge conflicts and adjustment menu options action using new menu UI)
VPNMenuButton(
vpnProductInfo: self.vpnProductInfo,
displayVPNDestination: { vc in
(self.presentedViewController as? MenuViewController)?
.pushInnerMenu(vc)
},
enableInstalledVPN: { [unowned menuController] in
/// Donate Enable VPN Activity for suggestions
let enableVPNActivity = ActivityShortcutManager.shared.createShortcutActivity(type: .enableBraveVPN)
menuController.userActivity = enableVPNActivity
enableVPNActivity.becomeCurrent()
})
}
}

Expand Down

0 comments on commit 5df5996

Please sign in to comment.