Skip to content

Commit 04277e2

Browse files
authored
Merge pull request #81 from chepicov/master
Fix iPad iOS 13 detection
2 parents 27e1b83 + a07e84e commit 04277e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/helpers/selectors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ export const isConsole = isConsoleType();
6767
export const isWearable = isWearableType();
6868
export const isMobileSafari = isMobileSafariType();
6969
export const isChromium = isChromiumType();
70-
export const isMobile = isMobileAndTabletType();
70+
export const isMobile = isMobileAndTabletType() || getIPad13();
7171
export const isMobileOnly = isMobileType();
72-
export const isTablet = isTabletType();
72+
export const isTablet = isTabletType() || getIPad13();
7373
export const isBrowser = isBrowserType();
7474
export const isAndroid = isAndroidType();
7575
export const isWinPhone = isWinPhoneType();

0 commit comments

Comments
 (0)