Skip to content

Use isSystemInDarkTheme as default value in Theming Codelab and preview function name#521

Open
mkar-dev wants to merge 1 commit intoandroid:mainfrom
mkar-dev:mk/theming-codelab
Open

Use isSystemInDarkTheme as default value in Theming Codelab and preview function name#521
mkar-dev wants to merge 1 commit intoandroid:mainfrom
mkar-dev:mk/theming-codelab

Conversation

@mkar-dev
Copy link

@mkar-dev mkar-dev commented Feb 6, 2025

Currently the starting point for Theming Codelab has default value for checking dark theme set to false instead of isSystemInDarkTheme()

It doesn't seem intentional for me and can be confusing for beginners

Also - the name for preview function is ReplyAppPreviewLight even though it generates preview for both Dark and Light themes
ReplyAppPreview seems more fitting

@mkar-dev mkar-dev requested a review from a team as a code owner February 6, 2025 13:32
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.

1 participant