Skip to content

Commit

Permalink
Fix friendsList platform icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsumi-sama committed Dec 19, 2024
1 parent 0b17440 commit 1ccaeb5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion html/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5149,7 +5149,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;
Expand Down

0 comments on commit 1ccaeb5

Please sign in to comment.