Skip to content

Commit 0ae5b66

Browse files
committed
fix(in-app-menu): default config
1 parent 10533e2 commit 0ae5b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/in-app-menu/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
77
(
88
(
99
typeof window !== 'undefined' &&
10-
!window.navigator?.userAgent?.includes('mac')
10+
!window.navigator?.userAgent?.toLowerCase().includes('mac')
1111
) ||
1212
(
1313
typeof global !== 'undefined' &&
@@ -16,7 +16,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
1616
) && (
1717
(
1818
typeof window !== 'undefined' &&
19-
!window.navigator?.userAgent?.includes('linux')
19+
!window.navigator?.userAgent?.toLowerCase().includes('linux')
2020
) ||
2121
(
2222
typeof global !== 'undefined' &&

0 commit comments

Comments
 (0)