Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit bfee54e

Browse files
bluemarvinkeianhzo
authored andcommitted
fix typo isDebugLogginEnabled -> isDebugLoggingEnabled (#2456)
1 parent dba24cf commit bfee54e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/src/common/shared/org/mozilla/vrbrowser/browser/SettingsStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ public void setSpeechDataCollectionReviewed(boolean isEnabled) {
583583
editor.commit();
584584
}
585585

586-
public boolean isDebugLogginEnabled() {
586+
public boolean isDebugLoggingEnabled() {
587587
return mPrefs.getBoolean(mContext.getString(R.string.settings_key_debug_logging), DEBUG_LOGGING_DEFAULT);
588588
}
589589

app/src/common/shared/org/mozilla/vrbrowser/browser/engine/EngineProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ object EngineProvider {
4646
builder.debugLogging(true)
4747
builder.aboutConfigEnabled(true)
4848
} else {
49-
builder.debugLogging(SettingsStore.getInstance(context).isDebugLogginEnabled)
49+
builder.debugLogging(SettingsStore.getInstance(context).isDebugLoggingEnabled)
5050
}
5151

5252
runtime = GeckoRuntime.create(context, builder.build())

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/settings/DeveloperOptionsView.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import org.mozilla.vrbrowser.browser.engine.SessionStore;
1818
import org.mozilla.vrbrowser.databinding.OptionsDeveloperBinding;
1919
import org.mozilla.vrbrowser.ui.views.settings.SwitchSetting;
20-
import org.mozilla.vrbrowser.ui.widgets.UISurfaceTextureRenderer;
2120
import org.mozilla.vrbrowser.ui.widgets.WidgetManagerDelegate;
2221

2322
import static org.mozilla.vrbrowser.utils.ServoUtils.isServoAvailable;
@@ -66,7 +65,7 @@ private void initialize(Context aContext) {
6665
if (BuildConfig.DEBUG) {
6766
mBinding.debugLoggingSwitch.setVisibility(View.GONE);
6867
} else {
69-
setDebugLogging(SettingsStore.getInstance(getContext()).isDebugLogginEnabled(), false);
68+
setDebugLogging(SettingsStore.getInstance(getContext()).isDebugLoggingEnabled(), false);
7069
}
7170

7271
if (!isServoAvailable()) {

0 commit comments

Comments
 (0)