Skip to content

Commit

Permalink
DROID-3194 Navigation | Fix | Should not crash after converting an ob…
Browse files Browse the repository at this point in the history
…ject to collection and returning to home screen (#1938)
  • Loading branch information
uburoiubu authored Dec 18, 2024
1 parent b0c79c5 commit 7a6b8f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ class Navigator : AppNavigation {
view = view
),
navOptions {
popUpTo(R.id.main_navigation) { inclusive = true }
popUpTo(R.id.homeScreen) {
inclusive = false
}
}
)
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4536,7 +4536,7 @@ class EditorViewModel(
Timber.e(it, "Error while closing object")
navigate(
EventWrapper(
AppNavigation.Command.OpenSetOrCollection(
OpenSetOrCollection(
target = target,
space = space.id,
isPopUpToDashboard
Expand All @@ -4547,7 +4547,7 @@ class EditorViewModel(
onSuccess = {
navigate(
EventWrapper(
AppNavigation.Command.OpenSetOrCollection(
OpenSetOrCollection(
target = target,
space = space.id,
isPopUpToDashboard
Expand Down

0 comments on commit 7a6b8f7

Please sign in to comment.