diff --git a/src/screens/Library/MusicDetails.js b/src/screens/Library/MusicDetails.js index 8378fe8..963328a 100644 --- a/src/screens/Library/MusicDetails.js +++ b/src/screens/Library/MusicDetails.js @@ -16,6 +16,7 @@ import { } from "react-native-responsive-dimensions"; import { useGlobal } from "reactn"; import { background, icons } from "../../assets"; +import PressableScale from "../../components/PressableScale"; import Slider from "../../components/Slider"; import { arrayRemove, @@ -356,7 +357,7 @@ const MusicDetails = ({ route }) => { {artist} - { if (!projectId || !currentUID) return; const next = !fav; @@ -377,7 +378,7 @@ const MusicDetails = ({ route }) => { style={{ ...size({ size: 24 }) }} resizeMode="contain" /> - + SheetManager.show("Playlist", { payload: { projectId } }) diff --git a/src/screens/Library/MusicDetails.web.js b/src/screens/Library/MusicDetails.web.js index e546334..5f5e6fe 100644 --- a/src/screens/Library/MusicDetails.web.js +++ b/src/screens/Library/MusicDetails.web.js @@ -16,6 +16,7 @@ import { } from "react-native-responsive-dimensions"; import { useGlobal } from "reactn"; import { background, icons } from "../../assets"; +import PressableScale from "../../components/PressableScale"; import Slider from "../../components/Slider"; import { arrayRemove, @@ -545,7 +546,7 @@ const MusicDetails = ({ route }) => { /> {/* Play / Pause */} - { source={isPlaying ? icons.pause : icons.play} style={size({ size: 34 })} /> - + {/* Next (forward 10s) */} - seekBy(10)}> + seekBy(10)}> { transform: [{ rotate: "180deg" }], }} /> - + - + - - + + - + diff --git a/src/screens/Profile/Profile.js b/src/screens/Profile/Profile.js index 35d74ac..074be09 100644 --- a/src/screens/Profile/Profile.js +++ b/src/screens/Profile/Profile.js @@ -17,6 +17,7 @@ import { useGlobal } from "reactn"; import { background, icons, img } from "../../assets"; import BorderGradient from "../../components/BorderGradient/BorderGradient"; import MoreMenu from "../../components/MoreMenu"; +import PressableScale from "../../components/PressableScale"; import { projectsRef, usersRef } from "../../config/firebase"; import useDataFromRef from "../../hooks/useDataFromRef"; import useLayoutType from "../../hooks/useLayoutType"; @@ -65,7 +66,7 @@ const Profile = () => { setFollowers( Array.isArray(currentUserData?.followedBy) ? currentUserData.followedBy.length - : 0, + : 0 ); return; } @@ -139,8 +140,7 @@ const Profile = () => { setSelectedProjectId(item.id); setMenuPosition(posTop); setShowMenu( - (prev) => - !prev || posTop?.top !== (menuPosition?.top ?? null), + (prev) => !prev || posTop?.top !== (menuPosition?.top ?? null) ); }} /> @@ -243,9 +243,9 @@ const Profile = () => { }} rightComponent={() => !isWeb && isSelf ? ( - SheetManager.show("ProfileSettings")}> + SheetManager.show("ProfileSettings")}> - + ) : null } > @@ -262,8 +262,8 @@ const Profile = () => { // Platform.OS !== "ios" ? "dimezisBlurView" : "none" // } > - {isWeb && ( - { top: 10, }} /> - + )}