Dark theme for EULA

This commit is contained in:
M66B
2021-02-28 09:32:21 +01:00
parent d6a231ee36
commit 2fc2ec48c9
3 changed files with 13 additions and 5 deletions

View File

@@ -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);