mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
Fix crash when toggling chat button plugins without restart
This commit is contained in:
parent
de570a4800
commit
377def4a33
7 changed files with 13 additions and 16 deletions
|
@ -37,7 +37,7 @@ const settings = definePluginSettings({
|
|||
}
|
||||
});
|
||||
|
||||
const SilentTypingToggle: ChatBarButton = (_, isMainChat) => {
|
||||
const SilentTypingToggle: ChatBarButton = ({ isMainChat }) => {
|
||||
const { isEnabled, showIcon } = settings.use(["isEnabled", "showIcon"]);
|
||||
const toggle = () => settings.store.isEnabled = !settings.store.isEnabled;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue