diff --git a/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx b/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx
index 7f6677f..b764fd6 100644
--- a/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx
+++ b/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx
@@ -119,7 +119,7 @@ export default function AlbumScreen() {
void toggleAlbumFavorite(album.id)}
hitSlop={8}
- style={[styles.iconAction, { backgroundColor: colors.muted }]}
+ style={[styles.iconAction, styles.leftAction, { backgroundColor: colors.muted }]}
>
void playAlbum(album.id)}
style={styles.playButton}
/>
-
@@ -203,18 +205,22 @@ const styles = StyleSheet.create({
actions: {
flexDirection: "row",
alignItems: "center",
- gap: spacing.sm,
+ justifyContent: "center",
+ alignSelf: "stretch",
+ minHeight: 44,
marginTop: spacing.sm,
},
playButton: { borderRadius: 999, minWidth: 160 },
- sideActionButton: { borderRadius: 999 },
iconAction: {
+ position: "absolute",
width: 44,
height: 44,
borderRadius: 22,
alignItems: "center",
justifyContent: "center",
},
+ leftAction: { left: 0 },
+ rightAction: { right: 0 },
trackRow: {
flexDirection: "row",
alignItems: "center",
diff --git a/apps/mobile/app/(app)/(tabs)/home/artist/[id].tsx b/apps/mobile/app/(app)/(tabs)/home/artist/[id].tsx
index 96300e9..89a7164 100644
--- a/apps/mobile/app/(app)/(tabs)/home/artist/[id].tsx
+++ b/apps/mobile/app/(app)/(tabs)/home/artist/[id].tsx
@@ -95,7 +95,7 @@ export default function ArtistScreen() {
void toggleArtistFavorite(data.artist.id)}
hitSlop={8}
- style={[styles.iconAction, { backgroundColor: colors.muted }]}
+ style={[styles.iconAction, styles.leftAction, { backgroundColor: colors.muted }]}
>
void playArtist(data.artist.id)}
style={styles.playButton}
/>
-
@@ -136,16 +138,25 @@ const styles = StyleSheet.create({
borderRadius: 90,
},
title: { fontSize: 28, fontWeight: "800", textAlign: "center" },
- actions: { flexDirection: "row", alignItems: "center", gap: spacing.sm, marginTop: spacing.sm },
+ actions: {
+ flexDirection: "row",
+ alignItems: "center",
+ justifyContent: "center",
+ alignSelf: "stretch",
+ minHeight: 44,
+ marginTop: spacing.sm,
+ },
playButton: { borderRadius: 999, minWidth: 160 },
- sideActionButton: { borderRadius: 999 },
iconAction: {
+ position: "absolute",
width: 44,
height: 44,
borderRadius: 22,
alignItems: "center",
justifyContent: "center",
},
+ leftAction: { left: 0 },
+ rightAction: { right: 0 },
section: { padding: spacing.lg, gap: spacing.md },
sectionTitle: { fontSize: 20, fontWeight: "700" },
})
diff --git a/apps/mobile/app/(app)/(tabs)/home/playlist/[id].tsx b/apps/mobile/app/(app)/(tabs)/home/playlist/[id].tsx
index 8cd88c1..abc972b 100644
--- a/apps/mobile/app/(app)/(tabs)/home/playlist/[id].tsx
+++ b/apps/mobile/app/(app)/(tabs)/home/playlist/[id].tsx
@@ -161,13 +161,32 @@ export default function PlaylistScreen() {
{playlist.owner.name}
{!playlist.isOwner && playlist.id ? (
-
@@ -236,9 +257,20 @@ const styles = StyleSheet.create({
actions: {
flexDirection: "row",
alignItems: "center",
- gap: spacing.sm,
+ justifyContent: "center",
+ alignSelf: "stretch",
+ minHeight: 44,
marginTop: spacing.sm,
},
playButton: { borderRadius: 999, minWidth: 160 },
- sideActionButton: { borderRadius: 999 },
+ iconAction: {
+ position: "absolute",
+ width: 44,
+ height: 44,
+ borderRadius: 22,
+ alignItems: "center",
+ justifyContent: "center",
+ },
+ leftAction: { left: 0 },
+ rightAction: { right: 0 },
})
diff --git a/apps/mobile/app/(app)/(tabs)/home/playlist/favorites.tsx b/apps/mobile/app/(app)/(tabs)/home/playlist/favorites.tsx
index 819e26e..d7972fb 100644
--- a/apps/mobile/app/(app)/(tabs)/home/playlist/favorites.tsx
+++ b/apps/mobile/app/(app)/(tabs)/home/playlist/favorites.tsx
@@ -1,5 +1,5 @@
import { useQuery } from "convex/react"
-import { ScrollView, StyleSheet, Text, View } from "react-native"
+import { Pressable, ScrollView, StyleSheet, Text, View } from "react-native"
import { Button, LoadingView } from "@/components/ui/primitives"
import { contentBottomInset, SongRow } from "@/components/player"
@@ -96,13 +96,15 @@ export default function FavoritesScreen() {
onPress={() => void playInOrder(songIds)}
style={styles.playButton}
/>
- void playShuffled(songIds)}
- style={styles.sideActionButton}
- />
+ style={[styles.iconAction, styles.rightAction, { backgroundColor: colors.muted }]}
+ >
+
+
@@ -141,7 +143,22 @@ const styles = StyleSheet.create({
borderRadius: radius.lg,
},
title: { fontSize: 24, fontWeight: "800" },
- actions: { flexDirection: "row", gap: spacing.sm, marginTop: spacing.sm },
+ actions: {
+ flexDirection: "row",
+ alignItems: "center",
+ justifyContent: "center",
+ alignSelf: "stretch",
+ minHeight: 44,
+ marginTop: spacing.sm,
+ },
playButton: { borderRadius: 999, minWidth: 160 },
- sideActionButton: { borderRadius: 999 },
+ iconAction: {
+ position: "absolute",
+ width: 44,
+ height: 44,
+ borderRadius: 22,
+ alignItems: "center",
+ justifyContent: "center",
+ },
+ rightAction: { right: 0 },
})