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:
Tim Balsfulland 2020-04-20 15:29:41 +02:00
parent 7ce74d378f
commit f37d70b58e
No known key found for this signature in database
GPG key ID: 07F3571464DD4256
8 changed files with 27 additions and 24 deletions

View file

@ -3,7 +3,9 @@ package com.beemdevelopment.aegis;
public enum Theme {
LIGHT,
DARK,
AMOLED;
AMOLED,
SYSTEM,
SYSTEM_AMOLED;
private static Theme[] _values;