-
Notifications
You must be signed in to change notification settings - Fork 471
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
Home screen dark theme fix: MW-164 #1851
base: development
Are you sure you want to change the base?
Home screen dark theme fix: MW-164 #1851
Conversation
We will merge this PR meanwhile please post a video that it's working |
Screen.Recording.2025-03-10.at.6.06.50.PM.movI’ve attached a video demonstrating the feature in action. Please let me know if you have any feedback. Thank you! |
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.
Hi 👋 ! @rohitlokhande47, The problem can be fixed on this screen, but if we do it this way, we'll have to fix it on other screens too. That's why we don't want to go down that route and avoid passing colors to any built-in components unless absolutely necessary, since they're already set up by M3. If you're serious about resolving the issue, just fix the theme, components, all top level composable etc, and get rid of all hardcoded colors. That way, it'll automatically be fixed throughout the app, and you won't have to specify colors for different theme modes.
mifospay-shared/src/commonMain/kotlin/org/mifospay/shared/ui/MifosApp.kt
Outdated
Show resolved
Hide resolved
…iOS run configuration
Issue Fix: Home Screen Dark Theme & Configuration UpdateFixes: #MW-164 DescriptionThis update addresses several aspects of the project:
Screen.Recording.2025-03-28.at.1.32.26.AM.movScreen.Recording.2025-03-28.at.1.59.35.AM.movDetailed ChangesRun Configurations
Theme Colors
UI Components
Build & Dependency Adjustments
Additional Checklist
Happy coding! |
Issue Fix: Home Screen Dark Theme Update
Fixes: #MW-164
Jira Task: MW-164
Screenshots
Changes
core/ui/src/commonMain/kotlin/org/mifospay/core/ui/TransactionHistoryCard.kt
MaterialTheme.colorScheme.background
for consistency.feature/home/src/commonMain/kotlin/org/mifospay/feature/home/HomeScreen.kt
mifospay-shared/src/commonMain/kotlin/org/mifospay/shared/ui/MifosApp.kt
Commit Summary
Additional Checklist:
AndroidStyle.xml
style template to your code in Android Studio../gradlew check
to ensure nothing is broken.Happy coding!