You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built an simple android app which use rekotlin-router and rekotlin library.
I find out that when i dispatch an action which is not navigation action.
Navigation reducer replace my navigation state by root navigation state.
I looking in your library and then i realize that something wrong in NavigationReducer
when(action) {
is SetRouteAction -> navigationState = setRoute(navigationState,action)
is SetRouteSpecificData -> navigationState = setRouteSpecificData(navigationState, action.route, action.data)
else -> NavigationState() // Some thing wrong in here
}
I think it should be:
when(action) {
is SetRouteAction -> navigationState = setRoute(navigationState,action)
is SetRouteSpecificData -> navigationState = setRouteSpecificData(navigationState, action.route, action.data)
else -> // Return old navigation state
}
The text was updated successfully, but these errors were encountered:
I built an simple android app which use rekotlin-router and rekotlin library.
I find out that when i dispatch an action which is not navigation action.
Navigation reducer replace my navigation state by root navigation state.
I looking in your library and then i realize that something wrong in NavigationReducer
I think it should be:
The text was updated successfully, but these errors were encountered: