Update PreferencesActivity.java

This commit is contained in:
AdrianLxM 2016-11-07 01:02:08 +01:00 committed by GitHub
parent c851aefc8e
commit 686593986c

View file

@ -37,7 +37,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
String lang = sharedPreferences.getString("language", "en");
LocaleHelper.setLocale(getApplicationContext(), lang);
recreate();
MainApp.bus().post(new EventRefreshGui());
MainApp.bus().post(new EventRefreshGui(true));
}
updatePrefSummary(myPreferenceFragment.getPreference(key));
}
@ -105,4 +105,4 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
return findPreference(key);
}
}
}
}