diff --git a/web/src/lib/components/user-settings-page/device-card.svelte b/web/src/lib/components/user-settings-page/device-card.svelte
index 5248a6d119..af864d0581 100644
--- a/web/src/lib/components/user-settings-page/device-card.svelte
+++ b/web/src/lib/components/user-settings-page/device-card.svelte
@@ -34,7 +34,7 @@
{#if device.deviceOS === 'Android'}
- {:else if device.deviceOS === 'iOS' || device.deviceOS === 'Mac OS'}
+ {:else if ['iOS', 'Mac OS', 'macOS'].includes(device.deviceOS)}
{:else if device.deviceOS.includes('Safari')}
@@ -44,7 +44,7 @@
{:else if device.deviceOS === 'Ubuntu'}
- {:else if device.deviceOS === 'Chromium OS' || device.deviceType === 'Chrome' || device.deviceType === 'Chromium'}
+ {:else if ['Chromium OS', 'Chrome OS'].includes(device.deviceOS) || ['Chrome', 'Chromium'].includes(device.deviceType)}
{:else}