diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-11-20 13:26:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-20 13:26:23 +0000 |
commit | 0e4f6717ce22fcfee8af74735ee5b45cbfe44257 (patch) | |
tree | bbbbe76c2ef3cbb57e0d54651c73391d9450d6be /src/components/Dialog | |
parent | f1c221ed2848d156d81816fbf9aa5d5580a6aacd (diff) | |
download | voidsky-0e4f6717ce22fcfee8af74735ee5b45cbfe44257.tar.zst |
fix change handle dialog on android (#6563)
Diffstat (limited to 'src/components/Dialog')
-rw-r--r-- | src/components/Dialog/shared.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/Dialog/shared.tsx b/src/components/Dialog/shared.tsx index 6f9bc2678..44a4f6b0b 100644 --- a/src/components/Dialog/shared.tsx +++ b/src/components/Dialog/shared.tsx @@ -1,7 +1,7 @@ import React from 'react' import {StyleProp, TextStyle, View, ViewStyle} from 'react-native' -import {atoms as a, useTheme, web} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {Text} from '#/components/Typography' export function Header({ @@ -29,10 +29,8 @@ export function Header({ a.border_b, t.atoms.border_contrast_medium, t.atoms.bg, - web([ - {borderRadiusTopLeft: a.rounded_md.borderRadius}, - {borderRadiusTopRight: a.rounded_md.borderRadius}, - ]), + {borderTopLeftRadius: a.rounded_md.borderRadius}, + {borderTopRightRadius: a.rounded_md.borderRadius}, style, ]}> {renderLeft && ( |