last tickets
This commit is contained in:
@@ -8,6 +8,7 @@ import { navigate } from "../../../navigation/NavigationService";
|
||||
import { Palette, Style } from "../../../styles";
|
||||
import { FONT_FAMILY } from "../../../styles/Fonts";
|
||||
import { getArtistDisplayName } from "../../../utils/artistName";
|
||||
import { getProjectLikes, LIKE_TARGET } from "../../../utils/likes";
|
||||
import CreateLyricsHeader from "../../Writing/components/CreateLyricsHeader";
|
||||
import MusicCard from "./MusicCard";
|
||||
import { defaultAvatar } from "../../../data/data";
|
||||
@@ -157,7 +158,8 @@ const SearchResultsList = ({
|
||||
subtitle={project?.userName}
|
||||
imageUri={resolveCoverUri(project)}
|
||||
projectId={project?.id}
|
||||
likedBy={project?.likedBy || []}
|
||||
likedBy={getProjectLikes(project, LIKE_TARGET.SONG)}
|
||||
likeTarget={LIKE_TARGET.SONG}
|
||||
onPress={() => handleMusicPress(project)}
|
||||
onPressMore={(positionTop) => {
|
||||
setSelectedProjectId(project.id);
|
||||
@@ -203,7 +205,8 @@ const SearchResultsList = ({
|
||||
preferThumbnail: true,
|
||||
})}
|
||||
projectId={project?.id}
|
||||
likedBy={project?.likedBy || []}
|
||||
likedBy={getProjectLikes(project, LIKE_TARGET.PLAYBACK)}
|
||||
likeTarget={LIKE_TARGET.PLAYBACK}
|
||||
onPress={() => handlePlaybackPress(project)}
|
||||
onPressMore={(positionTop) => {
|
||||
setSelectedProjectId(project.id);
|
||||
|
||||
Reference in New Issue
Block a user