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

Rewrite theme code to not use callbacks #2286

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

nielsvanvelzen
Copy link
Member

So now that we only have a few activities and they're written in Kotlin we can replace the activity callbacks that don't work all the time with something better.

Changes

  • Add ActivityThemeExtensions. It adds the applyTheme() function to activities which (as the name suggests) applies the theme set by the user.

Issues

Fixes #2261

@nielsvanvelzen nielsvanvelzen added the refactor Improvements to code realiability, readability and quality label Nov 22, 2022
@nielsvanvelzen nielsvanvelzen added this to the v0.15.0 milestone Nov 22, 2022
@nielsvanvelzen nielsvanvelzen changed the title Rewrite theming code to not use callbacks Rewrite theme code to not use callbacks Nov 22, 2022
@nielsvanvelzen nielsvanvelzen merged commit 675f285 into jellyfin:master Nov 25, 2022
@nielsvanvelzen nielsvanvelzen deleted the theme-extensions branch November 25, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to code realiability, readability and quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Themes not working
1 participant