Skip to content

Commit 1728227

Browse files
Update syntax
1 parent 0deabbb commit 1728227

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftfulRouting/Core/RouterProtocol/AnyRouter.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public struct AnyRouter: Sendable, Router {
223223
}
224224

225225
/// 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) {
227227
do {
228228
try tryShowNextScreen()
229229
} catch {
@@ -232,7 +232,7 @@ public struct AnyRouter: Sendable, Router {
232232
}
233233

234234
/// 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) {
236236
do {
237237
try tryShowNextScreen()
238238
} catch {
@@ -528,7 +528,7 @@ public struct AnyRouter: Sendable, Router {
528528
}
529529

530530
/// 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() {
532532
do {
533533
try tryShowNextTransition()
534534
} catch {

0 commit comments

Comments
 (0)