mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Added remarks
This commit is contained in:
@@ -1441,6 +1441,7 @@ public class Helper {
|
||||
}
|
||||
|
||||
static boolean isDarkTheme(Context context) {
|
||||
// R.attr.isLightTheme
|
||||
TypedValue tv = new TypedValue();
|
||||
context.getTheme().resolveAttribute(R.attr.themeName, tv, true);
|
||||
return (tv.string != null && !"light".contentEquals(tv.string));
|
||||
|
||||
Reference in New Issue
Block a user