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

---------

Co-authored-by: Rem Helper <remhelper@abunchofknowitalls.com>
Reviewed-on: https://git.abunchofknowitalls.com/joshuafhiggins/otunes/pulls/13
This commit is contained in:
joshuafhigginsandremhelper committed 2026-08-02 04:14:02 +00:00
1 parent 0a0128a9d4
commit d99a888ab9
1 file changed
+9 -2
@@ -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" },
})