Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3ba992e

Browse files
Delete Navigator restore state and launch coordinate
1 parent b1eacc4 commit 3ba992e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎navigation/src/main/java/com/example/navigation/Navigator.kt‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class Navigator @Inject constructor() {
2020

2121
fun navigate(destination: DestinationRoute, navOptions: NavOptionsBuilder.() -> Unit = {}) {
2222
_actions.tryEmit(
23-
Action.Navigate(destination = destination) {
24-
launchSingleTop = true
25-
restoreState = true
26-
}
23+
Action.Navigate(destination = destination, navOptions = navOptions)
2724
)
2825
}
2926

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /