mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
update stock-strings on selecting a new language
This commit is contained in:
@@ -65,6 +65,7 @@ public class AppearancePreferenceFragment extends ListSummaryPreferenceFragment
|
||||
// (for pending activities, the locale is updated by calling DynamicLanguage.onResume)
|
||||
Context applicationContext = this.getActivity().getApplicationContext();
|
||||
DynamicLanguage.setContextLocale(applicationContext, DynamicLanguage.getSelectedLocale(applicationContext));
|
||||
dcContext.setStockTranslations();
|
||||
}
|
||||
|
||||
public static CharSequence getSummary(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user