From 13beb135a178079d6373e2ef3d5458f33d56cd72 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 29 Sep 2025 15:14:54 -0500 Subject: [PATCH] Align colors in loading placeholders --- src/view/com/util/LoadingPlaceholder.tsx | 33 ++++++++++-------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/src/view/com/util/LoadingPlaceholder.tsx b/src/view/com/util/LoadingPlaceholder.tsx index 1b454598b8..3afba7f306 100644 --- a/src/view/com/util/LoadingPlaceholder.tsx +++ b/src/view/com/util/LoadingPlaceholder.tsx @@ -7,10 +7,8 @@ import { type ViewStyle, } from 'react-native' -import {usePalette} from '#/lib/hooks/usePalette' import {s} from '#/lib/styles' -import {useTheme} from '#/lib/ThemeContext' -import {atoms as a, useTheme as useTheme_NEW} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {Bubble_Stroke2_Corner2_Rounded as Bubble} from '#/components/icons/Bubble' import { Heart2_Filled_Stroke2_Corner0_Rounded as HeartIconFilled, @@ -27,7 +25,7 @@ export function LoadingPlaceholder({ height: DimensionValue | undefined style?: StyleProp }) { - const theme = useTheme() + const t = useTheme() return ( }) { - const t = useTheme_NEW() - const pal = usePalette('default') + const t = useTheme() return ( - + }) { - const pal = usePalette('default') + const t = useTheme() return ( - + - + @@ -184,9 +178,8 @@ export function ProfileCardLoadingPlaceholder({ }: { style?: StyleProp }) { - const pal = usePalette('default') return ( - + - + }) { - const t = useTheme_NEW() + const t = useTheme() const random = useMemo(() => Math.random(), []) return (