diff --git a/vector/src/main/java/im/vector/app/features/settings/devices/v2/ParseDeviceUserAgentUseCase.kt b/vector/src/main/java/im/vector/app/features/settings/devices/v2/ParseDeviceUserAgentUseCase.kt index a4fe5f4096..eb70addbb9 100644 --- a/vector/src/main/java/im/vector/app/features/settings/devices/v2/ParseDeviceUserAgentUseCase.kt +++ b/vector/src/main/java/im/vector/app/features/settings/devices/v2/ParseDeviceUserAgentUseCase.kt @@ -113,8 +113,7 @@ class ParseDeviceUserAgentUseCase @Inject constructor() { } private fun isMobile(browserSegments: List): Boolean { - return browserSegments.lastOrNull()?.startsWith("Safari").orFalse() && - browserSegments.getOrNull(browserSegments.size - 2)?.startsWith("Mobile").orFalse() + return browserSegments.getOrNull(browserSegments.size - 2)?.startsWith("Mobile").orFalse() } private fun getMobileBrowserName(browserSegments: List): String? {