mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 13:21:02 +00:00
Use black theme for system night theme
This commit is contained in:
parent
2496d8f546
commit
86a192fa9c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
||||||
int uiMode = getResources().getConfiguration().uiMode;
|
int uiMode = getResources().getConfiguration().uiMode;
|
||||||
Log.i("UI mode=" + uiMode);
|
Log.i("UI mode=" + uiMode);
|
||||||
if ((uiMode & Configuration.UI_MODE_NIGHT_YES) != 0)
|
if ((uiMode & Configuration.UI_MODE_NIGHT_YES) != 0)
|
||||||
setTheme(R.style.AppThemeDark);
|
setTheme(R.style.AppThemeBlack);
|
||||||
}
|
}
|
||||||
if ("dark".equals(theme))
|
if ("dark".equals(theme))
|
||||||
setTheme(R.style.AppThemeDark);
|
setTheme(R.style.AppThemeDark);
|
||||||
|
|
Loading…
Reference in a new issue