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 ( - +