From e5ce20091b766ab225511c4877ae1a52ba559485 Mon Sep 17 00:00:00 2001 From: Axeleander Date: Fri, 22 Dec 2023 11:33:51 +0100 Subject: [PATCH] Fix bug in client hints client hints parses OS-version as browser-version --- lib/device_detector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/device_detector.rb b/lib/device_detector.rb index 2d6a533..970d514 100644 --- a/lib/device_detector.rb +++ b/lib/device_detector.rb @@ -52,7 +52,7 @@ def name end def full_version - client_hint.platform_version || client.full_version + client_hint.full_version || client.full_version end def os_family