Extend error handler to modals (#327)
This commit is contained in:
parent
1935d9e92c
commit
a7ea010d4e
|
@ -62,6 +62,7 @@ extension View {
|
|||
.listStyle(themeListStyleValue())
|
||||
.toggleStyle(themeToggleStyleValue())
|
||||
.menuStyle(.borderlessButton)
|
||||
.withErrorHandler()
|
||||
}
|
||||
|
||||
func themePrimaryView() -> some View {
|
||||
|
|
|
@ -34,7 +34,6 @@ struct PassepartoutApp: App {
|
|||
WindowGroup {
|
||||
MainView()
|
||||
.withoutTitleBar()
|
||||
.withErrorHandler()
|
||||
.onIntentActivity(IntentDispatcher.connectVPN)
|
||||
.onIntentActivity(IntentDispatcher.disableVPN)
|
||||
.onIntentActivity(IntentDispatcher.enableVPN)
|
||||
|
|
Loading…
Reference in New Issue