mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Dark theme for EULA
This commit is contained in:
@@ -181,7 +181,10 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
||||
else
|
||||
prefs.edit().putBoolean("compact", true).apply();
|
||||
|
||||
setTheme(R.style.AppThemeBlueOrangeLight);
|
||||
if (Helper.isNight(this))
|
||||
setTheme(R.style.AppThemeBlueOrangeDark);
|
||||
else
|
||||
setTheme(R.style.AppThemeBlueOrangeLight);
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user