-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug + Refactor: Features-> Auth Module . #2239
base: master
Are you sure you want to change the base?
Conversation
WhatsApp.Video.2024-11-14.at.23.46.50_9699878a.mp4 |
fun NavController.navigateToMainGraph(){ | ||
val options = navOptions { | ||
popUpTo(graph.findStartDestination().id) { | ||
saveState = false | ||
} | ||
launchSingleTop = true | ||
restoreState = false | ||
} | ||
navigate(MifosNavGraph.MAIN_GRAPH , options) | ||
|
||
|
||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need it.
The error can be fixed by changing the Navroute of MifosNavGraph.MainGraph or passcodegraph.mainscreengraph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done Bhai
composable(MifosNavGraph.MAIN_GRAPH){ | ||
HomeNavigation() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we adding this here? we already have one called homeGraph
…odule-CleanUp # Conflicts: # mifosng-android/src/main/java/com/mifos/mifosxdroid/AndroidClient.kt
Fixes #Issue_Number
MIFOSAC-277
1)Fixes Post Login navigation issue.
2) CleanUp of Auth Module
3)Applying Spotless and detekt
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
Apply the
MifosStyle.xml
style template to your code in Android Studio.Run the unit tests with
./gradlew check
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.