Make nowplaying overlay slightly draggable
This commit is contained in:
@@ -28,11 +28,11 @@ const PopoverPosition = css`
|
|||||||
overflow: visible;
|
overflow: visible;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Container = styled.View`
|
const Container = styled.ScrollView`
|
||||||
${PopoverPosition};
|
${PopoverPosition};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const InnerContainer = styled.Pressable`
|
const InnerContainer = styled.TouchableOpacity`
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -148,7 +148,7 @@ function NowPlaying() {
|
|||||||
</Shadow>
|
</Shadow>
|
||||||
</ShadowOverlay>
|
</ShadowOverlay>
|
||||||
<ColoredBlurView style={{ borderRadius: 8 }}>
|
<ColoredBlurView style={{ borderRadius: 8 }}>
|
||||||
<InnerContainer onPress={openNowPlayingModal}>
|
<InnerContainer onPress={openNowPlayingModal} activeOpacity={0.5}>
|
||||||
<Cover source={{ uri: (track.artwork || '') as string }} />
|
<Cover source={{ uri: (track.artwork || '') as string }} />
|
||||||
<TrackNameContainer>
|
<TrackNameContainer>
|
||||||
<Text numberOfLines={1}>{track.title}</Text>
|
<Text numberOfLines={1}>{track.title}</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user