This commit is contained in:
Violet Caulfield
2025-01-24 23:22:30 -06:00
parent c2c8ae458f
commit a74e6139d2
+9 -9
View File
@@ -58,15 +58,15 @@ function App(): React.JSX.Element {
});
return carPlayConnected ? (
loggedIn ? (
<NavigationContainer>
<JellifyCarplay />
</NavigationContainer>
) : (
<View>
<Text>Please login in the app before using CarPlay</Text>
</View>
)
<NavigationContainer>
{ loggedIn ? (
<></>
) : (
<View>
<Text>Please login in the app before using CarPlay</Text>
</View>
)}
</NavigationContainer>
) : (
<NavigationContainer theme={isDarkMode ? JellifyDarkTheme : JellifyLightTheme}>
<SafeAreaProvider>