diff options
author | Francesco Lodovici <2643961+frncs-eu@users.noreply.github.com> | 2024-06-10 17:19:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 17:19:28 +0200 |
commit | b688da8d5860569108a7f487dc97c5f0b403aee1 (patch) | |
tree | 73eed1b1dbc378efcf23acc0ccf2062969d0fbb9 /src/view/screens/PostThread.tsx | |
parent | fd03ea3fe1d4f3c6a4079272b0dbd21c4e0d2b1b (diff) | |
download | voidsky-b688da8d5860569108a7f487dc97c5f0b403aee1.tar.zst |
* Fix (#4430): Use separate hooks for shell mode animated styles * Consolidate in one file --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/view/screens/PostThread.tsx')
-rw-r--r-- | src/view/screens/PostThread.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/PostThread.tsx b/src/view/screens/PostThread.tsx index 70378f4b8..89234c46b 100644 --- a/src/view/screens/PostThread.tsx +++ b/src/view/screens/PostThread.tsx @@ -14,7 +14,7 @@ import { import {useSession} from '#/state/session' import {useSetMinimalShellMode} from '#/state/shell' import {useComposerControls} from '#/state/shell/composer' -import {useMinimalShellMode} from 'lib/hooks/useMinimalShellMode' +import {useMinimalShellFabTransform} from 'lib/hooks/useMinimalShellTransform' import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types' import {makeRecordUri} from 'lib/strings/url-helpers' @@ -26,7 +26,7 @@ type Props = NativeStackScreenProps<CommonNavigatorParams, 'PostThread'> export function PostThreadScreen({route}: Props) { const queryClient = useQueryClient() const {hasSession} = useSession() - const {fabMinimalShellTransform} = useMinimalShellMode() + const fabMinimalShellTransform = useMinimalShellFabTransform() const setMinimalShellMode = useSetMinimalShellMode() const {openComposer} = useComposerControls() const safeAreaInsets = useSafeAreaInsets() |