fix change handle dialog on android (#6563)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {StyleProp, TextStyle, View, ViewStyle} from 'react-native'
|
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'
|
import {Text} from '#/components/Typography'
|
||||||
|
|
||||||
export function Header({
|
export function Header({
|
||||||
@@ -29,10 +29,8 @@ export function Header({
|
|||||||
a.border_b,
|
a.border_b,
|
||||||
t.atoms.border_contrast_medium,
|
t.atoms.border_contrast_medium,
|
||||||
t.atoms.bg,
|
t.atoms.bg,
|
||||||
web([
|
{borderTopLeftRadius: a.rounded_md.borderRadius},
|
||||||
{borderRadiusTopLeft: a.rounded_md.borderRadius},
|
{borderTopRightRadius: a.rounded_md.borderRadius},
|
||||||
{borderRadiusTopRight: a.rounded_md.borderRadius},
|
|
||||||
]),
|
|
||||||
style,
|
style,
|
||||||
]}>
|
]}>
|
||||||
{renderLeft && (
|
{renderLeft && (
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ function ChangeHandleDialogInner() {
|
|||||||
return (
|
return (
|
||||||
<Dialog.ScrollableInner
|
<Dialog.ScrollableInner
|
||||||
label={_(msg`Change Handle`)}
|
label={_(msg`Change Handle`)}
|
||||||
style={[a.overflow_hidden]}
|
|
||||||
header={
|
header={
|
||||||
<Dialog.Header renderLeft={cancelButton}>
|
<Dialog.Header renderLeft={cancelButton}>
|
||||||
<Dialog.HeaderText>
|
<Dialog.HeaderText>
|
||||||
|
|||||||
Reference in New Issue
Block a user