-
Notifications
You must be signed in to change notification settings - Fork 658
feat: implement recurring deposit account with stepper UI #2523
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
feat: implement recurring deposit account with stepper UI #2523
Conversation
| ) { | ||
| val steps = remember { | ||
| listOf( | ||
| Step(name = "Details") { |
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.
Move the hardcoded strings to strings.xml
| onNext = { onAction(RecurringAccountAction.NextStep) }, | ||
| ) | ||
| }, | ||
| Step(name = "Terms") { |
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.
Same here
| } | ||
|
|
||
| MifosScaffold( | ||
| title = "Create Recurring Deposit Account", |
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.
Here too, move all the hardcoded strings to strings.xml
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.
fixed all changes
| when (action) { | ||
| RecurringAccountAction.NextStep -> { | ||
| mutableStateFlow.update { state -> | ||
| val maxIndex = 4 // total steps - 1 (Details, Terms, Settings, Interest, Charges) |
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.
Remove the inline comment
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.
fixed this one too
biplab1
left a comment
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.
Other than changes requested, this looks good to me. This can be merged after those changes are made.

WhatsApp.Video.2025-10-15.at.20.58.52_3515005a.mp4
Fixes - Jira-#MIFOSAC-548
Didn't create a Jira ticket, click here to create new.
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
Run the static analysis check
./gradlew checkorci-prepush.shto make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.