Restart the app to apply the new language setting.

This commit is contained in:
Greyson Parrelli
2025-12-22 10:46:39 -05:00
committed by jeffrey-signal
parent 952990c8af
commit 4c47f337ea
4 changed files with 12 additions and 2 deletions

View File

@@ -599,7 +599,7 @@ public class TextSecurePreferences {
*/
@Deprecated
public static void setLanguage(Context context, String language) {
setStringPreference(context, LANGUAGE_PREF, language);
getSharedPreferences(context).edit().putString(LANGUAGE_PREF, language).commit();
}
@Deprecated