IF ELSE FIX AGAIN BABY

This commit is contained in:
thororen1234 2024-07-29 19:03:44 -04:00
parent 1a33639aa1
commit 852da78e7b

View file

@ -127,8 +127,7 @@ export default definePlugin({
renderIndicator: () => { renderIndicator: () => {
const { mode } = Settings.plugins.ServerListIndicators; const { mode } = Settings.plugins.ServerListIndicators;
let text: string; let text;
if (!!(mode & IndicatorType.FRIEND) && !!(mode & IndicatorType.SERVER)) { if (!!(mode & IndicatorType.FRIEND) && !!(mode & IndicatorType.SERVER)) {
text = `${onlineFriends} Friends, ${guildCount} Servers`; text = `${onlineFriends} Friends, ${guildCount} Servers`;
} else if (!!(mode & IndicatorType.FRIEND)) { } else if (!!(mode & IndicatorType.FRIEND)) {