diff --git a/app/src/common/shared/org/mozilla/vrbrowser/SettingsStore.java b/app/src/common/shared/org/mozilla/vrbrowser/SettingsStore.java index bb274cc07..3f389d371 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/SettingsStore.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/SettingsStore.java @@ -244,6 +244,7 @@ public String getEnvironment() { public void setEnvironment(String aEnv) { SharedPreferences.Editor editor = mPrefs.edit(); editor.putString(mContext.getString(R.string.settings_key_env), aEnv); + editor.commit(); } public float getBrowserWorldWidth() {