mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 22:12:55 +00:00
Merge pull request #369 from Timbals/master
automatically adapt to system theme
This commit is contained in:
commit
4ea8501fa9
8 changed files with 27 additions and 24 deletions
|
@ -98,7 +98,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