diff --git a/src/Main.tsx b/src/Main.tsx index 30b1161..af8152e 100644 --- a/src/Main.tsx +++ b/src/Main.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef, useState } from 'react'; -import { SafeAreaView, StyleSheet, NativeEventEmitter } from 'react-native'; +import { SafeAreaView, StyleSheet, NativeEventEmitter, ImageBackground } from 'react-native'; import AsyncStorage from '@react-native-async-storage/async-storage'; import DiscoveryScreen from './components/steps/DiscoveryScreen'; @@ -278,7 +278,7 @@ const Main = () => { } return ( - + {step == Step.Discovery && } {step == Step.Initialization && } {step == Step.Loading && } @@ -286,7 +286,7 @@ const Main = () => { {step == Step.Home && } {step == Step.FactoryReset && } - + ); } diff --git a/src/Styles.tsx b/src/Styles.tsx index 8d9c346..67c0bff 100644 --- a/src/Styles.tsx +++ b/src/Styles.tsx @@ -1,11 +1,15 @@ import { StyleSheet } from "react-native"; const Styles = StyleSheet.create({ - container: { + mainContainer: { backgroundColor: 'black', width: '100%', height: '100%' }, + container: { + width: '100%', + height: '100%' + }, textContainer: { width: '100%', paddingTop: 80, diff --git a/src/components/steps/HomeScreen.tsx b/src/components/steps/HomeScreen.tsx index c4ecf20..511a815 100644 --- a/src/components/steps/HomeScreen.tsx +++ b/src/components/steps/HomeScreen.tsx @@ -1,5 +1,5 @@ import {FC, useEffect, useRef, useState } from "react"; -import { SafeAreaView, StyleSheet, Text, TouchableOpacity, View } from "react-native"; +import { StyleSheet, Text, TouchableOpacity, View } from "react-native"; import Button from "../Button"; import { Camera, useCameraDevice, useCameraPermission, useCodeScanner } from "react-native-vision-camera"; import { hexToBytes } from "@noble/hashes/utils"; diff --git a/src/images/gradient.png b/src/images/gradient.png new file mode 100644 index 0000000..79ac4a7 Binary files /dev/null and b/src/images/gradient.png differ