Merge branch '32-fix-welcome-component-colors' into 'main'
Resolve "fix welcome component colors" Closes #32 See merge request thschleicher/interaktive-systeme!11
This commit is contained in:
commit
8bd54574cc
6 changed files with 56 additions and 34 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