Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Darkeye14
Copy link
Contributor

@Darkeye14 Darkeye14 commented Nov 14, 2024

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 anything

  • If you have multiple commits please combine them into one commit by squashing them.

@Darkeye14 Darkeye14 changed the title Refactor: CleanUp Auth Module. Bug + Refactor: Features-> Auth Module . Nov 14, 2024
@Darkeye14
Copy link
Contributor Author

WhatsApp.Video.2024-11-14.at.23.46.50_9699878a.mp4

Comment on lines 46 to 58
fun NavController.navigateToMainGraph(){
val options = navOptions {
popUpTo(graph.findStartDestination().id) {
saveState = false
}
launchSingleTop = true
restoreState = false
}
navigate(MifosNavGraph.MAIN_GRAPH , options)



}
Copy link
Contributor

@itsPronay itsPronay Nov 14, 2024

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done Bhai

Comment on lines 42 to 44
composable(MifosNavGraph.MAIN_GRAPH){
HomeNavigation()
}
Copy link
Contributor

@itsPronay itsPronay Nov 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants