Fix: another platform issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dorian Zedler 2022-08-06 22:22:49 +02:00
parent 7d09399f00
commit c9eb9bd58f
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -49,7 +49,7 @@
let parser = new UAParser(); let parser = new UAParser();
let platform; let platform;
if (Platforms.hasOwnProperty(parser.getOS().name)) if (Platforms.hasOwnProperty(parser.getOS().name.toLowerCase()))
platform = parser.getOS().name.toLowerCase(); platform = parser.getOS().name.toLowerCase();
else else
platform = Platforms.Unsupported; platform = Platforms.Unsupported;