diff --git a/src/components/Layout/Header/index.tsx b/src/components/Layout/Header/index.tsx index 1cab3605d26..7fd2bb12103 100644 --- a/src/components/Layout/Header/index.tsx +++ b/src/components/Layout/Header/index.tsx @@ -7,13 +7,7 @@ import {useNavigation} from '@react-navigation/native' import {NavigationProp} from '#/lib/routes/types' import {isIOS} from '#/platform/detection' import {useSetDrawerOpen} from '#/state/shell' -import { - atoms as a, - useBreakpoints, - useGutterStyles, - useTheme, - ViewStyleProp, -} from '#/alf' +import {atoms as a, useBreakpoints, useGutterStyles, useTheme} from '#/alf' import {Button, ButtonIcon} from '#/components/Button' import {ArrowLeft_Stroke2_Corner0_Rounded as ArrowLeft} from '#/components/icons/Arrow' import {Menu_Stroke2_Corner0_Rounded as Menu} from '#/components/icons/Menu' @@ -63,8 +57,11 @@ export function Content({children}: {children: React.ReactNode}) { export function Slot({ children, - style, -}: {children?: React.ReactNode} & ViewStyleProp) { + position = 'left', +}: { + children?: React.ReactNode + position?: 'left' | 'right' +}) { return ( {children} diff --git a/src/screens/Settings/ThreadPreferences.tsx b/src/screens/Settings/ThreadPreferences.tsx index de0b270747a..cf720f97490 100644 --- a/src/screens/Settings/ThreadPreferences.tsx +++ b/src/screens/Settings/ThreadPreferences.tsx @@ -46,7 +46,6 @@ export function ThreadPreferencesScreen({}: Props) { Thread Preferences -