fix(mobile): add cheveron for artists and truncate #13

Merged
joshuafhiggins merged 1 commits from t3code/artist-list-mobile-chevrons into mobile 2026-07-15 00:33:20 -04:00
@@ -1,3 +1,4 @@
import { Ionicons } from "@expo/vector-icons"
import { usePaginatedQuery, useQuery } from "convex/react"
import { Stack } from "expo-router"
import { useCallback } from "react"
@@ -92,7 +93,13 @@ export default function ArtistsScreen() {
hasCover={artist.photo != null}
style={styles.avatar}
/>
<Text style={[styles.name, { color: colors.foreground }]}>{artist.name}</Text>
<Text
style={[styles.name, { color: colors.foreground }]}
numberOfLines={1}
>
{artist.name}
</Text>
<Ionicons name="chevron-forward" size={16} color={colors.mutedForeground} />
</Pressable>
</MediaContextMenu>
)}
@@ -115,5 +122,5 @@ const styles = StyleSheet.create({
height: 44,
borderRadius: 22,
},
name: { fontSize: 16, fontWeight: "600" },
name: { flex: 1, fontSize: 16, fontWeight: "600" },
})