Update dark mode

This commit is contained in:
Maarten 2024-08-12 09:22:52 +02:00
parent 84aab76737
commit 4b2d3b8b32
6 changed files with 45 additions and 28 deletions

View file

@ -18,7 +18,7 @@ export default function CategoryScreen() {
const colorScheme = useColorScheme() ?? 'light';
const navigation = useNavigation();
const [ description, setDescription ] = useState( '' );
const viewCategory = useSelector((state: any) => state.data.viewCategory);
const viewCategory = useSelector( (state: any) => state.data.viewCategory );
// Load item from storage
useEffect( () => {
@ -43,6 +43,7 @@ export default function CategoryScreen() {
<RenderHtml
contentWidth={width}
source={source}
baseStyle={{ color: Colors[ colorScheme ].text }}
/>
</ThemedView>
</ScrollView>