Update PreferencesActivity.java
This commit is contained in:
parent
c851aefc8e
commit
686593986c
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
|
||||||
String lang = sharedPreferences.getString("language", "en");
|
String lang = sharedPreferences.getString("language", "en");
|
||||||
LocaleHelper.setLocale(getApplicationContext(), lang);
|
LocaleHelper.setLocale(getApplicationContext(), lang);
|
||||||
recreate();
|
recreate();
|
||||||
MainApp.bus().post(new EventRefreshGui());
|
MainApp.bus().post(new EventRefreshGui(true));
|
||||||
}
|
}
|
||||||
updatePrefSummary(myPreferenceFragment.getPreference(key));
|
updatePrefSummary(myPreferenceFragment.getPreference(key));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue