mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 12:24:49 +00:00
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
19 lines
286 B
Java
19 lines
286 B
Java
package com.beemdevelopment.aegis;
|
|
|
|
public enum Theme {
|
|
LIGHT,
|
|
DARK,
|
|
AMOLED,
|
|
SYSTEM,
|
|
SYSTEM_AMOLED;
|
|
|
|
private static Theme[] _values;
|
|
|
|
static {
|
|
_values = values();
|
|
}
|
|
|
|
public static Theme fromInteger(int x) {
|
|
return _values[x];
|
|
}
|
|
}
|