Migrate PatcherCache to singleton class

This commit is contained in:
redphx
2024-11-01 07:22:21 +07:00
parent ec3daa09fd
commit b090d325ae
3 changed files with 68 additions and 62 deletions

View File

@@ -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');