diff options
Diffstat (limited to 'src/modules/notifpopups.tsx')
| -rw-r--r-- | src/modules/notifpopups.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/notifpopups.tsx b/src/modules/notifpopups.tsx index 9e34549..f1ae9b6 100644 --- a/src/modules/notifpopups.tsx +++ b/src/modules/notifpopups.tsx @@ -40,7 +40,7 @@ export default () => ( ); // Limit number of popups - if (config.maxPopups > 0 && self.children.length > config.maxPopups) + if (config.maxPopups.get() > 0 && self.children.length > config.maxPopups.get()) map.values().next().value?.destroyWithAnims(); }); self.hook(notifd, "resolved", (_, id) => map.get(id)?.destroyWithAnims()); |