Added Setting button to QRScannerScreen, call SettingScreen as Modal instead

This commit is contained in:
2024-07-28 22:21:24 +08:00
parent b2ff312537
commit 48144f88b5
6 changed files with 240 additions and 164 deletions

View File

@@ -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>('');