mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-27 22:10:57 -04:00
Merge remote-tracking branch 'upstream/main' into fix/518-open-link-in-new-tab-on-macos
This commit is contained in:
commit
2ee5a7ceaa
@ -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")
|
||||
|
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user