fix(in-app-menu): default config

This commit is contained in:
JellyBrick
2024-02-19 17:06:01 +09:00
parent 10533e28fa
commit 0ae5b668f5

View File

@ -7,7 +7,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
( (
( (
typeof window !== 'undefined' && typeof window !== 'undefined' &&
!window.navigator?.userAgent?.includes('mac') !window.navigator?.userAgent?.toLowerCase().includes('mac')
) || ) ||
( (
typeof global !== 'undefined' && typeof global !== 'undefined' &&
@ -16,7 +16,7 @@ export const defaultInAppMenuConfig: InAppMenuConfig = {
) && ( ) && (
( (
typeof window !== 'undefined' && typeof window !== 'undefined' &&
!window.navigator?.userAgent?.includes('linux') !window.navigator?.userAgent?.toLowerCase().includes('linux')
) || ) ||
( (
typeof global !== 'undefined' && typeof global !== 'undefined' &&