Added remark

pull/187/head
M66B 4 years ago
parent 26079e9c09
commit d310462844

@ -66,7 +66,7 @@ public class ApplicationEx extends Application implements SharedPreferences.OnSh
prefs.edit() prefs.edit()
.remove("english") .remove("english")
.putString("language", Locale.US.toLanguageTag()) .putString("language", Locale.US.toLanguageTag())
.commit(); .commit(); // apply won't work here
} }
String language = prefs.getString("language", null); String language = prefs.getString("language", null);

Loading…
Cancel
Save