Fix #454 Improve Samsung detection

This commit is contained in:
Faisal Salman
2021-03-12 19:20:17 +07:00
parent 6aa3ff1374
commit 46615e70db
2 changed files with 10 additions and 1 deletions

View File

@@ -540,7 +540,7 @@
/smart-tv.+(samsung)/i
], [VENDOR, [TYPE, SMARTTV], MODEL], [
/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,
/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,
/\s(sam)(?:sung)[\s-]([\w-]+)/i,
/sec-((sgh\w+))/i
], [[VENDOR, 'Samsung'], MODEL, [TYPE, MOBILE]], [