Merge remote-tracking branch 'upstream/main' into fix/518-open-link-in-new-tab-on-macos

This commit is contained in:
Balazs Perlaki-Horvath 2023-11-20 11:48:36 +01:00
commit 2ee5a7ceaa
2 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,6 @@ extension Color {
extension Notification.Name {
static let alert = Notification.Name("alert")
static let externalLink = Notification.Name("externalLink")
static let openFiles = Notification.Name("openFiles")
static let openURL = Notification.Name("openURL")
static let toggleSidebar = Notification.Name("toggleSidebar")

View File

@ -11,6 +11,7 @@ import SwiftUI
import Defaults
struct ExternalLinkHandler: ViewModifier {
@EnvironmentObject private var browserViewModel: BrowserViewModel
@State private var isAlertPresented = false
@State private var activeAlert: ActiveAlert?
@State private var activeSheet: ActiveSheet?