UI theme can be changed
This commit is contained in:
@@ -17,9 +17,13 @@ public class ActivitySettings extends PreferenceActivity
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
Miscellaneous.setDisplayLanguage(this);
|
||||
|
||||
// Dark Theme doesn't work in PreferenceActivity, so only a bright theme is readable
|
||||
|
||||
if(Settings.uiTheme != 0)
|
||||
this.setTheme(R.style.AppThemeCompatLight);
|
||||
// Miscellaneous.setUiTheme(this);
|
||||
|
||||
addPreferencesFromResource(layout.activity_settings);
|
||||
|
||||
if(BuildConfig.FLAVOR.equals(AutomationService.flavor_name_apk))
|
||||
|
||||
Reference in New Issue
Block a user