Update dark mode
This commit is contained in:
parent
84aab76737
commit
4b2d3b8b32
6 changed files with 45 additions and 28 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue