mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 13:48:27 +02:00
Migrate PatcherCache to singleton class
This commit is contained in:
@@ -1034,7 +1034,7 @@ export class SettingsNavigationDialog extends NavigationDialog {
|
||||
|
||||
private onGlobalSettingChanged(e: Event) {
|
||||
// Clear PatcherCache;
|
||||
isFullVersion() && PatcherCache.clear();
|
||||
isFullVersion() && PatcherCache.getInstance().clear();
|
||||
|
||||
this.$btnReload.classList.add('bx-danger');
|
||||
|
||||
|
Reference in New Issue
Block a user