FIX: Instant mode wouldn't disable on toggle.

This commit is contained in:
Tyler Marques 2025-06-03 12:08:39 -07:00
parent 1a78cfdb5c
commit 9695a64d65
No known key found for this signature in database
GPG key ID: CB99EDCF41D3016F
5 changed files with 35 additions and 134 deletions

View file

@ -6,13 +6,6 @@
import { config } from '../config';
import { DebugMenu } from './debugMenu';
/**
* Gets whether instant chat is currently enabled
* @deprecated Use config.isInstantMode instead
*/
export function isInstantChatEnabled(): boolean {
return config.isInstantMode;
}
/**
* Initializes the instant mode debug tool
@ -45,4 +38,4 @@ export function initInstantChatTool(debugMenu: DebugMenu): void {
config.setInstantMode(target.checked);
});
}
}
}