fix: color does not work in dark mode

This commit is contained in:
Jakob Stornig 2023-12-05 15:07:45 +01:00
parent 498c1d8563
commit 9c319eeeda
3 changed files with 8 additions and 1 deletions

View file

@ -3,6 +3,7 @@ import {StyleSheet, View} from "react-native"
import { FontAwesome } from "@expo/vector-icons";
import {useThemeColor} from "../hooks/hooks";
import React from "react";
export default function Layout() {
// const selectedColor: string = useThemeColor( "tabIconSelected");

View file

@ -1,5 +1,6 @@
import { StyleSheet, View, Text, NativeSyntheticEvent, NativeScrollEvent, SafeAreaView } from 'react-native';
import { StyleSheet, View, Text, NativeSyntheticEvent, NativeScrollEvent} from 'react-native';
import { useThemeColor } from "../hooks/hooks";
import { SafeAreaView } from 'react-native-safe-area-context'
import { ExpenseItem, Plus, Welcome } from '../components';
import { FlatList } from 'react-native-gesture-handler';
import { useRef, useState } from 'react';