Skip to content

Change use darkColorScheme default in customJson is null #103

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

Conversation

kaytran2992
Copy link
Contributor

No description provided.

val googleMapOptions = remember(state.isDarkMode) {
GoogleMapOptions()
.mapColorScheme(
if (state.isDarkMode) MapColorScheme.LIGHT else MapColorScheme.DARK
Copy link
Collaborator

Choose a reason for hiding this comment

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

@kaytran2992 here says that if state isDarkMode use MapColorScheme.LIGHT, is this the expected? the naming is just slightly contradictory and can get confusing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The GG Map has an issue with googleMapOptions, which reproduces this issue somehow: https://issuetracker.google.com/issues/351858982 that makes me missunderstanding it. But seems to work by using mapColorScheme: ComposeMapColorScheme. = null.

@kaytran2992 kaytran2992 force-pushed the fix/Apply-GGMap-darkColorScheme-default branch from 91be16f to 3203f35 Compare February 19, 2025 04:28
Copy link

🦞 Coverage Report

Overall Project 62.85% 🟩

There is no coverage information present for the Files changed

@kaytran2992 kaytran2992 merged commit 5b2f1dd into epic/MT-6865-Create-a-new-UI-for-Map-component Mar 3, 2025
2 checks passed
@kaytran2992 kaytran2992 deleted the fix/Apply-GGMap-darkColorScheme-default branch March 3, 2025 04:55
kaytran2992 added a commit that referenced this pull request Mar 5, 2025
…me-default

Change use darkColorScheme default in customJson is null
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.

3 participants