Move error handler to AppCoordinator
This commit is contained in:
parent
0fd544348f
commit
f8655b09af
|
@ -98,6 +98,7 @@ public struct AppCoordinator: View, AppCoordinatorConforming, SizeClassProviding
|
|||
options: modalRoute?.options(),
|
||||
content: modalDestination
|
||||
)
|
||||
.withErrorHandler(errorHandler)
|
||||
.onChange(of: interactiveManager.isPresented) {
|
||||
modalRoute = $0 ? .interactiveLogin : nil
|
||||
}
|
||||
|
|
|
@ -59,7 +59,6 @@ struct ProfileContainerView: View, Routable {
|
|||
errorHandler: errorHandler
|
||||
))
|
||||
.navigationTitle(Strings.Unlocalized.appName)
|
||||
.withErrorHandler(errorHandler)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue