mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-25 04:54:26 +01:00
Use black theme for system night theme
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user