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

[1.219.*] Pre-release merge #693

Merged
merged 7 commits into from
Aug 7, 2024
Merged

[1.219.*] Pre-release merge #693

merged 7 commits into from
Aug 7, 2024

Conversation

tramline-github[bot]
Copy link
Contributor

A new release train Nightly is starting. The main branch has to be merged into nightly branch.

* Add class to extract seed color from a image URL

* Enable automatic UI user interface style for iOS

* Add support for storing app theme mode in preferences

* Change seed color extraction to return color int

Also removed caching support, since we will add the seed color the featured post item UI model

* Add default light color scheme

* Use color scheme tokens in `PostMetadata`

* Hide `FeaturedSection` if there are no featured posts

* Add support for dynamic light theme

* Use LRU cache for storing dynamic colors during animation

Since the generated colors will be same given the seed color. It makes sense to keep them in a cache and access them during the animation.

* Remove unused code in `DynamicContentTheme`

* Reduce cache size in `DynamicContentTheme`

* Use pager offset for calculating from and to seed colors in `FeaturedSection`

* Move `DynamicColorState` creation inside `DynamicContentTheme`

* Add extension to convert Compose color to hex string

* Remove `measureTimedValue` function usage from `HomePresenter`

* Return `null` if image fails to load during seed color extraction

* Change selected dropdown menu item background color to `tintedHighlight`

* Remove unnecessary `MaterialTheme` usage in `SettingsScreen`

If we update the global `MaterialTheme` it will recompose the entire tree, which is not what we want.

* Change scope of dynamic color state usage when creating app theme

* Provide  `DynamicContentTheme` using static composition local

* Mark `AppColorScheme` as `Immutable`
@tramline-github tramline-github bot merged commit 04e5a01 into nightly Aug 7, 2024
7 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.

1 participant