Skip to content

Commit 1640b29

Browse files
authored
Merge pull request #169 from blocknative/fix/chromebook-desktop
better validation for chromebook desktop. Closes #168
2 parents a197302 + 9067726 commit 1640b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function getDeviceInfo() {
171171
const { type } = browser.getPlatform()
172172

173173
return {
174-
isMobile: type !== 'desktop',
174+
isMobile: type ? type !== 'desktop' : window.innerWidth < 600,
175175
os: name
176176
}
177177
}

0 commit comments

Comments
 (0)