From 029739b20db536aeb83504f4cae655e9755b8517 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Thu, 19 Dec 2024 06:42:06 +1300 Subject: [PATCH] Fix friendsList platform icons --- html/src/app.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index d4b9148d..41397d8e 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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;