update stock-strings on selecting a new language

This commit is contained in:
B. Petersen
2019-10-09 23:38:39 +02:00
parent c2dd7b7e95
commit f67315f404
@@ -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) {