fix: enable/disable boosts button logic

This commit is contained in:
COxDE 2024-06-27 13:38:55 +01:00 committed by GitHub
parent 5d6a43e5d2
commit 04588874c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1159,8 +1159,8 @@ function RelatedActions({
setRelationshipUIState('default');
showToast(
rel.showingReblogs
? `Boosts from @${username} disabled.`
: `Boosts from @${username} enabled.`,
? `Boosts from @${username} enabled.`
: `Boosts from @${username} disabled.`,
);
} catch (e) {
alert(e);