From 7a0859af78e9d4c34002b05d8bf394718d4cb162 Mon Sep 17 00:00:00 2001 From: Randall Barker Date: Sat, 15 Sep 2018 09:21:58 -0700 Subject: [PATCH] Fix broken env toggle in developer settings. Fixes #528 --- app/src/common/shared/org/mozilla/vrbrowser/SettingsStore.java | 1 + 1 file changed, 1 insertion(+) 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() {