Fix friendsList platform icons

This commit is contained in:
Natsumi
2024-12-19 06:42:06 +13:00
parent e119b2edde
commit 029739b20d

View File

@@ -5148,7 +5148,18 @@ speechSynthesis.getVoices();
// Do Not Disturb
style.busy = true;
}
if (user.last_platform && user.last_platform !== 'standalonewindows') {
if (
user.platform &&
user.platform !== 'standalonewindows' &&
user.platform !== 'web'
) {
style.mobile = true;
}
if (
user.last_platform &&
user.last_platform !== 'standalonewindows' &&
user.platform === 'web'
) {
style.mobile = true;
}
return style;