fix tab bar items

This commit is contained in:
Violet Caulfield
2025-04-14 18:13:34 -05:00
parent 1f19fbf858
commit 7dbb7c9c43
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ const CarPlayDiscover = () =>
new ListTemplate({
id: uuid.v4(),
tabTitle: 'Discover',
tabSystemImageName: 'globe',
})
export default CarPlayDiscover
+1
View File
@@ -12,6 +12,7 @@ const CarPlayHome = () =>
id: uuid.v4(),
title: 'Home',
tabTitle: 'Home',
tabSystemImageName: 'music.house.fill',
sections: [
{
header: `Hi ${Client.user?.name ?? 'there'}`,
+4 -1
View File
@@ -28,9 +28,12 @@ const JellifyContextInitializer = () => {
setCarPlayConnected(true)
if (loggedIn) {
console.debug(CarPlay.bridge)
CarPlay.setRootTemplate(CarPlayNavigation())
CarPlay.pushTemplate(CarPlayNowPlaying())
if (Platform.OS === 'ios') {
CarPlay.enableNowPlaying(true) // https://github.com/birkir/react-native-carplay/issues/185
}
}
}