mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-24 12:08:44 -06:00
carplay exception fixes
This commit is contained in:
@@ -10,7 +10,7 @@ const CarPlayHome : ListTemplate = new ListTemplate({
|
||||
tabTitle: "Home",
|
||||
sections: [
|
||||
{
|
||||
header: Client.user!.name,
|
||||
header: `Hi ${Client.user?.name ?? "there"}`,
|
||||
items: [
|
||||
{ id: QueryKeys.RecentlyPlayedArtists, text: 'Recent Artists' },
|
||||
{ id: QueryKeys.RecentlyPlayed, text: 'Recently Played'},
|
||||
|
||||
@@ -12,7 +12,7 @@ export const CarPlayRecentlyPlayed = (recentTracks : BaseItemDto[]) => new GridT
|
||||
track.Name ? track.Name : "Untitled Track"
|
||||
],
|
||||
image: {
|
||||
uri: getImageApi(Client.api!).getItemImageUrlById(track.Id!)
|
||||
uri: Client.api ? getImageApi(Client.api).getItemImageUrlById(track.Id!) : ""
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user