feat(core): build config for ios android (#8555)

This commit is contained in:
EYHN
2024-10-21 05:39:04 +00:00
parent d1783b6f8c
commit db374f7feb
10 changed files with 29 additions and 12 deletions

View File

@@ -30,7 +30,11 @@ export const SafeArea = forwardRef<HTMLDivElement, SafeAreaProps>(
<div
ref={ref}
className={clsx(safeArea, className)}
data-standalone={environment.isPwa ? '' : undefined}
data-standalone={
environment.isPwa || BUILD_CONFIG.isAndroid || BUILD_CONFIG.isIOS
? ''
: undefined
}
data-bottom={bottom ? '' : undefined}
data-top={top ? '' : undefined}
style={{