From 06adebc5707a2abcdea0f36fdaf1acdbffb46dee Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Mon, 10 Feb 2025 16:08:10 -0600 Subject: [PATCH] carplay stuff --- components/CarPlay/Home.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/CarPlay/Home.tsx b/components/CarPlay/Home.tsx index 8ceefc49..7a9e9b05 100644 --- a/components/CarPlay/Home.tsx +++ b/components/CarPlay/Home.tsx @@ -1,3 +1,4 @@ +import { QueryKeys } from "../../enums/query-keys"; import Client from "../../api/client"; import { fetchRecentlyPlayedArtists } from "../../api/queries/functions/recents"; import { ListTemplate } from "react-native-carplay"; @@ -12,9 +13,9 @@ const CarPlayHome : ListTemplate = new ListTemplate({ { header: Client.user!.name, items: [ - { text: 'Recent Artists' }, - { text: 'Recently Played'}, - { text: 'Your Playlists'} + { id: QueryKeys.RecentlyPlayedArtists, text: 'Recent Artists' }, + { id: QueryKeys.RecentlyPlayed, text: 'Recently Played'}, + { id: QueryKeys.UserPlaylists, text: 'Your Playlists'} ] } ],