We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10533e2 commit 0ae5b66Copy full SHA for 0ae5b66
src/plugins/in-app-menu/constants.ts
@@ -7,7 +7,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
7
(
8
9
typeof window !== 'undefined' &&
10
- !window.navigator?.userAgent?.includes('mac')
+ !window.navigator?.userAgent?.toLowerCase().includes('mac')
11
) ||
12
13
typeof global !== 'undefined' &&
@@ -16,7 +16,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
16
) && (
17
18
19
- !window.navigator?.userAgent?.includes('linux')
+ !window.navigator?.userAgent?.toLowerCase().includes('linux')
20
21
22
0 commit comments