last fixes, home and videos
This commit is contained in:
@@ -11,6 +11,7 @@ const MusicLandHeader = ({
|
||||
showSkip = false,
|
||||
progress = 1,
|
||||
logo = null,
|
||||
style,
|
||||
}) => {
|
||||
const isWeb = Platform.OS === "web";
|
||||
const backButtonStyle = isWeb
|
||||
@@ -34,7 +35,7 @@ const MusicLandHeader = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<View style={{ alignItems: "center", gap: 16 }}>
|
||||
<View style={{ alignItems: "center", gap: 16, ...style }}>
|
||||
<View style={{ width: "100%", ...Style.containerRow, gap: 16 }}>
|
||||
<Pressable style={backButtonStyle} onPress={onPressBack}>
|
||||
<Image
|
||||
@@ -72,14 +73,16 @@ const MusicLandHeader = ({
|
||||
</Pressable>
|
||||
)}
|
||||
</View>
|
||||
<Image
|
||||
source={logo}
|
||||
style={{
|
||||
alignSelf: "center",
|
||||
height: isWeb ? 150 : 100,
|
||||
resizeMode: "contain",
|
||||
}}
|
||||
/>
|
||||
{logo && (
|
||||
<Image
|
||||
source={logo}
|
||||
style={{
|
||||
alignSelf: "center",
|
||||
height: isWeb ? 150 : 100,
|
||||
resizeMode: "contain",
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user