Migrate to DayNight Theme

This commit is contained in:
krlvm 2021-03-26 17:12:20 +03:00
parent a6ad96ccd7
commit c509ecac47
12 changed files with 47 additions and 23 deletions

View file

@ -133,6 +133,8 @@ public class MainActivity extends AppCompatActivity {
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) {
TLSSocketFactoryCompat.setAsDefault();
}
ThemeHelper.setDayNightMode(this);
ThemeHelper.setTheme(this, ServiceHelper.getSelectedServiceId(this));
assureCorrectAppLanguage(this);