Fix PreviewMessage icon being offcentre

This commit is contained in:
Vendicated 2024-02-06 16:50:21 +01:00
parent bf977e0047
commit 2c198e547c
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
4 changed files with 22 additions and 6 deletions

View file

@ -123,9 +123,6 @@ export default definePlugin({
),
settings,
async start() {
const { default: StegCloak } = await getStegCloak();
steggo = new StegCloak(true, false);
addButton("InvisibleChat", message => {
return this.INV_REGEX.test(message?.content)
? {
@ -144,6 +141,9 @@ export default definePlugin({
});
addChatBarButton("InvisibleChat", ChatBarIcon);
const { default: StegCloak } = await getStegCloak();
steggo = new StegCloak(true, false);
},
stop() {