1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Use black theme for system night theme

This commit is contained in:
M66B 2019-06-14 12:36:18 +02:00
parent 2496d8f546
commit 86a192fa9c

View file

@ -67,7 +67,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
int uiMode = getResources().getConfiguration().uiMode;
Log.i("UI mode=" + uiMode);
if ((uiMode & Configuration.UI_MODE_NIGHT_YES) != 0)
setTheme(R.style.AppThemeDark);
setTheme(R.style.AppThemeBlack);
}
if ("dark".equals(theme))
setTheme(R.style.AppThemeDark);