File tree 1 file changed +3
-3
lines changed
Sources/SwiftfulRouting/Core/RouterProtocol
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ public struct AnyRouter: Sendable, Router {
223
223
}
224
224
225
225
/// Segue to a the first screen in this RouterView's screen queue, if available, otherwise dismiss the environment.
226
- @MainActor public func showNextScreenOrDismissEnvironment( animateDismiss: Bool = true ) throws {
226
+ @MainActor public func showNextScreenOrDismissEnvironment( animateDismiss: Bool = true ) {
227
227
do {
228
228
try tryShowNextScreen ( )
229
229
} catch {
@@ -232,7 +232,7 @@ public struct AnyRouter: Sendable, Router {
232
232
}
233
233
234
234
/// Segue to a the first screen in this RouterView's screen queue, if available, otherwise dismiss the .push stack.
235
- @MainActor public func showNextScreenOrDismissPushStack( animateDismiss: Bool = true ) throws {
235
+ @MainActor public func showNextScreenOrDismissPushStack( animateDismiss: Bool = true ) {
236
236
do {
237
237
try tryShowNextScreen ( )
238
238
} catch {
@@ -528,7 +528,7 @@ public struct AnyRouter: Sendable, Router {
528
528
}
529
529
530
530
/// Show the first transition in this RouterView's transition queue, otherwise show next screen, otherwise dismiss screen.
531
- @MainActor public func showNextTransitionOrNextScreenOrDismissScreen( ) throws {
531
+ @MainActor public func showNextTransitionOrNextScreenOrDismissScreen( ) {
532
532
do {
533
533
try tryShowNextTransition ( )
534
534
} catch {
You can’t perform that action at this time.
0 commit comments