-
Notifications
You must be signed in to change notification settings - Fork 1
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
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: