back button

This commit is contained in:
2025-10-22 13:52:34 +02:00
parent 19b2c05e7e
commit 7b68a8c101
+9 -11
View File
@@ -18,19 +18,16 @@ const MusicLandHeader = ({
...Style.containerRow, ...Style.containerRow,
gap: 8, gap: 8,
paddingHorizontal: 12, paddingHorizontal: 12,
paddingVertical: 8, paddingVertical: 7,
// backgroundColor: Palette.transparentWhite, borderRadius: 100,
// borderRadius: mainBorderRadius, borderWidth: 1,
backgroundColor: Palette.ultraLightWhite,
borderColor: Palette.ultraLightWhite,
borderStyle: "solid",
} }
: { width: 24, height: 24, ...Style.containerCenter }; : { width: 24, height: 24, ...Style.containerCenter };
const backIconSource = isWeb ? icons.arrowRight : icons.chevronDown; const backIconSource = isWeb ? icons.chevronDown : icons.chevronDown;
const backIconStyle = isWeb const backIconStyle = {
? {
width: 16,
height: 16,
transform: [{ rotate: "180deg" }],
}
: {
width: 15, width: 15,
height: 15, height: 15,
transform: [{ rotate: "90deg" }], transform: [{ rotate: "90deg" }],
@@ -57,6 +54,7 @@ const MusicLandHeader = ({
</Text> </Text>
)} )}
</Pressable> </Pressable>
<View style={{ flex: 1 }}> <View style={{ flex: 1 }}>
<ProgressBar progress={progress} /> <ProgressBar progress={progress} />
</View> </View>