Added Setting button to QRScannerScreen, call SettingScreen as Modal instead
This commit is contained in:
3
App.tsx
3
App.tsx
@@ -5,11 +5,9 @@ import { Provider } from 'react-redux';
|
||||
import QRScannerScreen from './screens/QRScannerScreen';
|
||||
import HistoryScreen from './screens/HistoryScreen';
|
||||
import EmailScreen from './screens/EmailScreen'; // Import the Email screen
|
||||
import SettingsScreen from './screens/SettingsScreen'; // Import the Settings screen
|
||||
import { QRCodeContext } from './types';
|
||||
import CustomTabBar from './components/CustomTabBar';
|
||||
import store from './store';
|
||||
|
||||
import { withAuthenticator } from '@aws-amplify/ui-react-native';
|
||||
import { Amplify } from 'aws-amplify';
|
||||
import config from './src/aws-exports';
|
||||
@@ -21,7 +19,6 @@ Amplify.configure(config);
|
||||
|
||||
const Tab = createBottomTabNavigator();
|
||||
|
||||
|
||||
const App: React.FC = () => {
|
||||
const [scannedData, setScannedData] = useState<string>('');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user