mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
some changes
This commit is contained in:
parent
730f42c1e4
commit
c6407db317
1 changed files with 5 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ const MetadataScreen = () => {
|
|||
// Animation values
|
||||
const screenScale = useSharedValue(0.8);
|
||||
const screenOpacity = useSharedValue(0);
|
||||
const heroHeight = useSharedValue(height * 0.45);
|
||||
const heroHeight = useSharedValue(height * 0.5);
|
||||
const contentTranslateY = useSharedValue(50);
|
||||
|
||||
// Add state for watch progress
|
||||
|
|
@ -655,7 +655,7 @@ const MetadataScreen = () => {
|
|||
React.useEffect(() => {
|
||||
screenScale.value = withSpring(1, springConfig);
|
||||
screenOpacity.value = withSpring(1, springConfig);
|
||||
heroHeight.value = withSpring(height * 0.45, springConfig);
|
||||
heroHeight.value = withSpring(height * 0.5, springConfig);
|
||||
contentTranslateY.value = withSpring(0, springConfig);
|
||||
}, []);
|
||||
|
||||
|
|
@ -1049,14 +1049,14 @@ const styles = StyleSheet.create({
|
|||
},
|
||||
heroSection: {
|
||||
width: '100%',
|
||||
height: height * 0.45,
|
||||
height: height * 0.5,
|
||||
backgroundColor: colors.black,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
heroImage: {
|
||||
width: '110%',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
top: '-5%',
|
||||
top: '0%',
|
||||
transform: [{ scale: 1 }],
|
||||
},
|
||||
heroGradient: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue