back button
This commit is contained in:
@@ -18,23 +18,20 @@ 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: 15,
|
||||||
width: 16,
|
height: 15,
|
||||||
height: 16,
|
transform: [{ rotate: "90deg" }],
|
||||||
transform: [{ rotate: "180deg" }],
|
};
|
||||||
}
|
|
||||||
: {
|
|
||||||
width: 15,
|
|
||||||
height: 15,
|
|
||||||
transform: [{ rotate: "90deg" }],
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{ alignItems: "center", gap: 16 }}>
|
<View style={{ alignItems: "center", gap: 16 }}>
|
||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user