Skip to content

Commit

Permalink
fix change handle dialog on android (bluesky-social#6563)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Nov 20, 2024
1 parent f1c221e commit 0e4f671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/components/Dialog/shared.tsx
Original file line number Diff line number Diff line change
@@ -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({
Expand Down Expand Up @@ -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 && (
Expand Down
1 change: 0 additions & 1 deletion src/screens/Settings/components/ChangeHandleDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ function ChangeHandleDialogInner() {
return (
<Dialog.ScrollableInner
label={_(msg`Change Handle`)}
style={[a.overflow_hidden]}
header={
<Dialog.Header renderLeft={cancelButton}>
<Dialog.HeaderText>
Expand Down

0 comments on commit 0e4f671

Please sign in to comment.