mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Remove "ui_home_context_menu_disabled" setting as it's no longer needed
This commit is contained in:
12
dist/better-xcloud.user.js
vendored
12
dist/better-xcloud.user.js
vendored
@@ -1508,11 +1508,6 @@ class GlobalSettingsStorage extends BaseSettingsStore {
|
||||
label: t("hide-scrollbar"),
|
||||
default: !1
|
||||
},
|
||||
ui_home_context_menu_disabled: {
|
||||
requiredVariants: "full",
|
||||
label: t("disable-home-context-menu"),
|
||||
default: STATES.browser.capabilities.touch
|
||||
},
|
||||
ui_hide_sections: {
|
||||
requiredVariants: "full",
|
||||
label: t("hide-sections"),
|
||||
@@ -3896,7 +3891,6 @@ var FeatureGates = {
|
||||
EnableUpdateRequiredPage: !1,
|
||||
ShowForcedUpdateScreen: !1
|
||||
};
|
||||
if (getPref("ui_home_context_menu_disabled")) FeatureGates.EnableHomeContextMenu = !1;
|
||||
if (getPref("block_social_features")) FeatureGates.EnableGuideChatTab = !1;
|
||||
if (BX_FLAGS.FeatureGates) FeatureGates = Object.assign(BX_FLAGS.FeatureGates, FeatureGates);
|
||||
class PatcherUtils {
|
||||
@@ -4647,7 +4641,6 @@ class SettingsNavigationDialog extends NavigationDialog {
|
||||
items: [
|
||||
"ui_layout",
|
||||
"ui_game_card_show_wait_time",
|
||||
"ui_home_context_menu_disabled",
|
||||
"controller_show_connection_status",
|
||||
"stream_simplify_menu",
|
||||
"skip_splash_video",
|
||||
@@ -6808,11 +6801,6 @@ function overridePreloadState() {
|
||||
} catch (e) {
|
||||
BxLogger.error(LOG_TAG6, e);
|
||||
}
|
||||
if (getPref("ui_home_context_menu_disabled")) try {
|
||||
state.experiments.experimentationInfo.data.treatments.EnableHomeContextMenu = !1;
|
||||
} catch (e) {
|
||||
BxLogger.error(LOG_TAG6, e);
|
||||
}
|
||||
_state = state, STATES.appContext = deepClone(state.appContext);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user