Skip to content

Commit 55b5b40

Browse files
committed
Fix #596 - Detect Galaxy Tab S8 as tablet
1 parent 8483ac0 commit 55b5b40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ua-parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
/////////////////////////
374374

375375
// Samsung
376-
/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
376+
/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
377377
], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [
378378
/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,
379379
/samsung[- ]([-\w]+)/i,

0 commit comments

Comments
 (0)