Skip to content

Commit

Permalink
fix(get-device): allow recognition of Chrome's Android emulator on Wi…
Browse files Browse the repository at this point in the history
…ndows as android
  • Loading branch information
kozmanbalint committed Jul 11, 2021
1 parent 741261e commit 008bf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/shared/get-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function calcDevice({ userAgent } = {}) {
device.firefox = firefox;

// Android
if (android && !windows) {
if (android) {
device.os = 'android';
device.osVersion = android[2];
device.android = true;
Expand Down

0 comments on commit 008bf32

Please sign in to comment.