Merge pull request #833 from mebr1416/master

Day mode by default #825
This commit is contained in:
neslihanturan 2017-08-05 12:55:01 +03:00 committed by GitHub
commit 8ca35c7653
6 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@ public class BaseActivity extends AppCompatActivity {
@Override
protected void onResume() {
// Restart activity if theme is changed
boolean newTheme = PreferenceManager.getDefaultSharedPreferences(this).getBoolean("theme",true);
boolean newTheme = PreferenceManager.getDefaultSharedPreferences(this).getBoolean("theme",false);
if(currentTheme!=newTheme){ //is activity theme changed
Intent intent = getIntent();
finish();