From 3972706c54c4e89f2167dc65b931ed05356beb9f Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 30 Dec 2022 15:58:28 -0600 Subject: [PATCH] Fix to loading state --- src/view/com/util/LoadingPlaceholder.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/view/com/util/LoadingPlaceholder.tsx b/src/view/com/util/LoadingPlaceholder.tsx index 15488167..76e3c495 100644 --- a/src/view/com/util/LoadingPlaceholder.tsx +++ b/src/view/com/util/LoadingPlaceholder.tsx @@ -2,8 +2,9 @@ import React from 'react' import {StyleSheet, StyleProp, View, ViewStyle} from 'react-native' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {UpIcon} from '../../lib/icons' -import {s, colors} from '../../lib/styles' +import {s} from '../../lib/styles' import {useTheme} from '../../lib/ThemeContext' +import {usePalette} from '../../lib/hooks/usePalette' export function LoadingPlaceholder({ width, @@ -44,8 +45,9 @@ export function PostLoadingPlaceholder({ style?: StyleProp }) { const theme = useTheme() + const pal = usePalette('default') return ( - + @@ -104,8 +106,9 @@ export function NotificationLoadingPlaceholder({ }: { style?: StyleProp }) { + const pal = usePalette('default') return ( - +