mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
automatically adapt to system theme
added two new theme options: SYSTEM: dynamically switches between light and dark SYSTEM_AMOLED: dynamically switches between light and amoled reversed workaround for amoled themed preferences launch screen now always follows the system theme
This commit is contained in:
parent
7ce74d378f
commit
f37d70b58e
8 changed files with 27 additions and 24 deletions
|
@ -90,7 +90,7 @@ public class Preferences {
|
|||
}
|
||||
|
||||
public Theme getCurrentTheme() {
|
||||
return Theme.fromInteger(_prefs.getInt("pref_current_theme", 0));
|
||||
return Theme.fromInteger(_prefs.getInt("pref_current_theme", Theme.SYSTEM.ordinal()));
|
||||
}
|
||||
|
||||
public void setCurrentTheme(Theme theme) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue