Skip to content

Commit c777822

Browse files
authored
Merge pull request #111 from JohnPhamous/master
Change isLegacyEdge to be false if isEdgeChromium
2 parents e1a11da + c4eebd2 commit c777822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/helpers/selectors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ export const isIPhone13 = getIphone13();
108108
export const isIPod13 = getIPod13();
109109
export const isElectron = isElectronType();
110110
export const isEdgeChromium = isEdgeChromiumType();
111-
export const isLegacyEdge = isEdgeType();
111+
export const isLegacyEdge = isEdgeType() && !isEdgeChromiumType();
112112
export const isWindows = isWindowsType();
113113
export const isMacOs = isMacOsType();

0 commit comments

Comments
 (0)