Skip to content

Commit

Permalink
Extend error handler to modals (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeshux authored Jul 6, 2023
1 parent 1935d9e commit a7ea010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Passepartout/App/Constants/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ extension View {
.listStyle(themeListStyleValue())
.toggleStyle(themeToggleStyleValue())
.menuStyle(.borderlessButton)
.withErrorHandler()
}

func themePrimaryView() -> some View {
Expand Down
1 change: 0 additions & 1 deletion Passepartout/App/PassepartoutApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ struct PassepartoutApp: App {
WindowGroup {
MainView()
.withoutTitleBar()
.withErrorHandler()
.onIntentActivity(IntentDispatcher.connectVPN)
.onIntentActivity(IntentDispatcher.disableVPN)
.onIntentActivity(IntentDispatcher.enableVPN)
Expand Down

0 comments on commit a7ea010

Please sign in to comment.