fixed and broke the theme again
This commit is contained in:
parent
424407faf3
commit
f62b49b5cf
5 changed files with 23 additions and 24 deletions
|
|
@ -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")
|
||||
}}/>}
|
||||
|
|
|
|||
Reference in a new issue