HideAttachments setStyle enabled property based upon if any hidden messages exist

This commit is contained in:
Sqaaakoi 2025-01-20 06:02:27 +13:00
parent 55090b76cd
commit dfe43a4cba
No known key found for this signature in database

View file

@ -83,7 +83,8 @@ export default definePlugin({
color: var(--text-muted); color: var(--text-muted);
font-size: 80%; font-size: 80%;
} }
` `,
enabled: hiddenMessages.size > 0
}); });
}, },