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

@@ -15,9 +15,7 @@ const CustomTabBar: React.FC<CustomTabBarProps> = ({ state, descriptors, navigat
{state.routes.map((route, index) => {
const { options } = descriptors[route.key];
const label =
route.name === 'Email'
? 'Gmail'
: options.tabBarLabel !== undefined
options.tabBarLabel !== undefined
? options.tabBarLabel
: options.title !== undefined
? options.title