Skip to content

Commit

Permalink
Fix #596 - Detect Galaxy Tab S8 as tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
kNoAPP committed Sep 20, 2022
1 parent 8483ac0 commit 55b5b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@
/////////////////////////

// Samsung
/\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
/\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
], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [
/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,
/samsung[- ]([-\w]+)/i,
Expand Down

0 comments on commit 55b5b40

Please sign in to comment.