diff --git a/app/(auth)/(tabs)/(home,libraries,search,favorites,watchlists)/music/album/[albumId].tsx b/app/(auth)/(tabs)/(home,libraries,search,favorites,watchlists)/music/album/[albumId].tsx index 6ae88c0c..0b71857b 100644 --- a/app/(auth)/(tabs)/(home,libraries,search,favorites,watchlists)/music/album/[albumId].tsx +++ b/app/(auth)/(tabs)/(home,libraries,search,favorites,watchlists)/music/album/[albumId].tsx @@ -56,7 +56,12 @@ export default function AlbumDetailScreen() { }); useEffect(() => { - navigation.setOptions({ title: album?.Name ?? "" }); + navigation.setOptions({ + title: album?.Name ?? "", + headerTransparent: true, + headerStyle: { backgroundColor: "transparent" }, + headerShadowVisible: false, + }); }, [album?.Name, navigation]); const imageUrl = useMemo( @@ -111,7 +116,10 @@ export default function AlbumDetailScreen() { paddingBottom: insets.bottom + 100, }} ListHeaderComponent={ - + {/* Album artwork */} { - navigation.setOptions({ title: artist?.Name ?? "" }); + navigation.setOptions({ + title: artist?.Name ?? "", + headerTransparent: true, + headerStyle: { backgroundColor: "transparent" }, + headerShadowVisible: false, + }); }, [artist?.Name, navigation]); const imageUrl = useMemo( @@ -138,7 +143,10 @@ export default function ArtistDetailScreen() { paddingBottom: insets.bottom + 100, }} ListHeaderComponent={ - + {/* Artist image */} { - navigation.setOptions({ title: playlist?.Name ?? "" }); + navigation.setOptions({ + title: playlist?.Name ?? "", + headerTransparent: true, + headerStyle: { backgroundColor: "transparent" }, + headerShadowVisible: false, + }); }, [playlist?.Name, navigation]); const imageUrl = useMemo( @@ -111,7 +116,10 @@ export default function PlaylistDetailScreen() { paddingBottom: insets.bottom + 100, }} ListHeaderComponent={ - + {/* Playlist artwork */} { return ( <> - + - } - onEndReached={handleEndReached} - onEndReachedThreshold={0.5} - renderItem={({ item, index }) => ( - - - - )} - keyExtractor={(item) => item.Id!} - ListFooterComponent={ - isFetchingNextPage ? ( - - + + + } + onEndReached={handleEndReached} + onEndReachedThreshold={0.5} + renderItem={({ item, index }) => ( + + - ) : null - } - /> + )} + keyExtractor={(item) => item.Id!} + ListFooterComponent={ + isFetchingNextPage ? ( + + + + ) : null + } + /> + ); } diff --git a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/artists.tsx b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/artists.tsx index f612b537..38bddc57 100644 --- a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/artists.tsx +++ b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/artists.tsx @@ -129,42 +129,44 @@ export default function ArtistsScreen() { } return ( - - } - onEndReached={handleEndReached} - onEndReachedThreshold={0.5} - renderItem={({ item, index }) => ( - - - - )} - keyExtractor={(item) => item.Id!} - ListFooterComponent={ - isFetchingNextPage ? ( - - + + + } + onEndReached={handleEndReached} + onEndReachedThreshold={0.5} + renderItem={({ item, index }) => ( + + - ) : null - } - /> + )} + keyExtractor={(item) => item.Id!} + ListFooterComponent={ + isFetchingNextPage ? ( + + + + ) : null + } + /> + ); } diff --git a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/playlists.tsx b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/playlists.tsx index 6093295b..bc1cfd11 100644 --- a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/playlists.tsx +++ b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/playlists.tsx @@ -129,42 +129,44 @@ export default function PlaylistsScreen() { } return ( - - } - onEndReached={handleEndReached} - onEndReachedThreshold={0.5} - renderItem={({ item, index }) => ( - - - - )} - keyExtractor={(item) => item.Id!} - ListFooterComponent={ - isFetchingNextPage ? ( - - + + + } + onEndReached={handleEndReached} + onEndReachedThreshold={0.5} + renderItem={({ item, index }) => ( + + - ) : null - } - /> + )} + keyExtractor={(item) => item.Id!} + ListFooterComponent={ + isFetchingNextPage ? ( + + + + ) : null + } + /> + ); } diff --git a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/suggestions.tsx b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/suggestions.tsx index b32ea4c9..98c468c4 100644 --- a/app/(auth)/(tabs)/(libraries)/music/[libraryId]/suggestions.tsx +++ b/app/(auth)/(tabs)/(libraries)/music/[libraryId]/suggestions.tsx @@ -243,44 +243,46 @@ export default function SuggestionsScreen() { } return ( - - } - renderItem={({ item: section }) => ( - - {section.title} - {section.type === "albums" ? ( - item.Id!} - renderItem={(item) => } - /> - ) : ( - - {section.data.slice(0, 5).map((track, index, _tracks) => ( - - ))} - - )} - - )} - keyExtractor={(item) => item.title} - /> + + + } + renderItem={({ item: section }) => ( + + {section.title} + {section.type === "albums" ? ( + item.Id!} + renderItem={(item) => } + /> + ) : ( + + {section.data.slice(0, 5).map((track, index, _tracks) => ( + + ))} + + )} + + )} + keyExtractor={(item) => item.title} + /> + ); } diff --git a/translations/en.json b/translations/en.json index 01a99481..5b0fc7f9 100644 --- a/translations/en.json +++ b/translations/en.json @@ -599,6 +599,9 @@ "artists": "Artists", "playlists": "Playlists" }, + "filters": { + "all": "All" + }, "recently_added": "Recently Added", "recently_played": "Recently Played", "frequently_played": "Frequently Played",