fixed and broke the theme again

This commit is contained in:
Walcher 2023-12-08 16:52:24 +01:00
parent 424407faf3
commit f62b49b5cf
5 changed files with 23 additions and 24 deletions

View file

@ -9,6 +9,7 @@ import { useRouter } from "expo-router"
import { useAuth } from '../../contexts/AuthContext';
export default function Page() {
const backgroundColor = useThemeColor("backgroundColor")
const router = useRouter()
const {onLogout} = useAuth();
const [plusShow, setPlusShow] = useState(true);
@ -53,7 +54,7 @@ export default function Page() {
return (
<SafeAreaView style={{flex: 1}}>
<SafeAreaView style={{flex: 1, backgroundColor: backgroundColor}}>
{plusShow && <Plus onPress={()=>{
router.push("/(tabs)/home/addItem")
}}/>}

View file

@ -35,7 +35,6 @@ export default function login() {
placeholder={'Enter Password'}
label='Password'
leftIcon={<FontAwesome name="key" size={20} />}
rightIcon={<FontAwesome name="key" size={20} />}
onChangeHandler={setPassword}
secure = {true}
/>