fix change handle dialog on android (#6563)

This commit is contained in:
Samuel Newman
2024-11-20 13:26:23 +00:00
committed by GitHub
parent f1c221ed28
commit 0e4f6717ce
2 changed files with 3 additions and 6 deletions
+3 -5
View File
@@ -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 && (
@@ -86,7 +86,6 @@ function ChangeHandleDialogInner() {
return (
<Dialog.ScrollableInner
label={_(msg`Change Handle`)}
style={[a.overflow_hidden]}
header={
<Dialog.Header renderLeft={cancelButton}>
<Dialog.HeaderText>