Fixes issue with provider...

This commit is contained in:
tom79 2017-09-30 14:52:21 +02:00
parent f04fae7a3d
commit fb78b14589
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class MainActivity extends AppCompatActivity
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, android.content.Context.MODE_PRIVATE);
ProviderInstaller.installIfNeededAsync(this, this);
final int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
if( theme == Helper.THEME_LIGHT){
setTheme(R.style.AppTheme_NoActionBar);