mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-01 10:56:42 +02:00
Bug fixes
This commit is contained in:
@@ -64,7 +64,7 @@ const PATCHES = {
|
||||
return false;
|
||||
}
|
||||
|
||||
return PatcherUtils.replaceWith(str, text, '.track=function(e){},!!function(', index);
|
||||
return PatcherUtils.replaceWith(str, index, text, '.track=function(e){},!!function(');
|
||||
},
|
||||
|
||||
// Set disableTelemetry() to true
|
||||
|
@@ -6,7 +6,7 @@ import { getPref } from "./settings-storages/global-settings-storage";
|
||||
|
||||
|
||||
export function addCss() {
|
||||
const STYLUS_CSS = renderStylus();
|
||||
const STYLUS_CSS = renderStylus() as unknown as string;
|
||||
let css = STYLUS_CSS;
|
||||
|
||||
const PREF_HIDE_SECTIONS = getPref(PrefKey.UI_HIDE_SECTIONS);
|
||||
|
Reference in New Issue
Block a user