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

refactor #2511: migrated savings account detail screen to compose #2512

Conversation

AvneetSingh2001
Copy link
Collaborator

Fixes #2511

screenshot_20240214_025424_mifos_mobile_720 screenshot_20240214_025358_mifos_mobile_720

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.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.


@JvmField
@Inject
var preferencesHelper: PreferencesHelper? = null
Copy link
Member

Choose a reason for hiding this comment

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

It is injected from hilt so It will not null ever. please remove nullable ? = null and @JvmField

}

sealed class SavingsAccountDetailUiState {
data object Initial : SavingsAccountDetailUiState()
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need Initial, I think Loading default is fine.

@AvneetSingh2001 AvneetSingh2001 force-pushed the saving_account_details_migration branch from 695f30e to 428339d Compare February 15, 2024 19:03
@AvneetSingh2001 AvneetSingh2001 force-pushed the saving_account_details_migration branch from 428339d to 1a7dfd2 Compare February 15, 2024 19:33
# Conflicts:
#	app/src/main/java/org/mifos/mobile/ui/fragments/SavingAccountsDetailFragment.kt
@therajanmaurya therajanmaurya merged commit cd01a63 into openMF:development Feb 16, 2024
0 of 3 checks passed
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.

refactor: Migration of Savings Account Details Screen from XML to Compose
2 participants