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

Low Power Mode argument for themes #15

Open
carloslbello opened this issue Oct 14, 2015 · 1 comment
Open

Low Power Mode argument for themes #15

carloslbello opened this issue Oct 14, 2015 · 1 comment

Comments

@carloslbello
Copy link
Owner

Lithium works fine on iOS 9 (besides the preference bundle, which requires an update to PreferenceLoader to work), but does not change the theme if Low Power Mode is enabled. This is because themes do not have a parameter for LPM and Lithium does not check for it. I'm thinking about possibly adding an LPM parameter to themes so that they can look different when it is active. This would require checking the number of arguments a theme function accepts to determine whether it can accept an LPM parameter; existing themes would continue to work unchanged (meaning not having a unique style for LPM). A version of Lithium that does this would be versioned at 2.x and would have the same package ID as usual, so themes that use LPM would need to depend on Lithium >= 2.0.

@carloslbello
Copy link
Owner Author

cc @supermamon, this would have implications for the theme editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant