This commit is contained in:
Violet Caulfield
2025-03-29 11:31:18 -05:00
parent c8767be2eb
commit 9fa0ead38e

View File

@@ -6,8 +6,8 @@ import { CarPlayInterface, NowPlayingTemplate, TabBarTemplate } from "react-nati
// 'react-native-carplay' has also been disabled for android builds in react-native.config.js
const CarPlay = Platform.OS === 'ios' ? require('react-native-carplay').CarPlay as CarPlayInterface : null;
const CarPlayNavigation : TabBarTemplate = Platform.OS === 'ios' ? require('./CarPlay/Navigation').CarPlayNavigation : null;
const CarPlayNowPlaying : NowPlayingTemplate = Platform.OS === 'ios' ? require('./CarPlay/NowPlaying').CarPlayNowPlaying : null;
const CarPlayNavigation : TabBarTemplate = CarPlay ? require('./CarPlay/Navigation') : null;
const CarPlayNowPlaying : NowPlayingTemplate = CarPlay ? require('./CarPlay/NowPlaying') : null;
interface JellifyContext {
loggedIn: boolean;