From f2b09a5e656fa46a5055e8d181d56cc1f537a0cc Mon Sep 17 00:00:00 2001 From: Jarsen <31397967+Jarsen136@users.noreply.github.com> Date: Tue, 21 Jan 2025 19:47:11 +0100 Subject: [PATCH 1/4] fix: Move Download button --- .../GalleryItemButton/GalleryItemButton.vue | 8 +-- .../GalleryItemMoreActionBtn.vue | 49 +------------ components/gallery/GalleryItemToolBar.vue | 68 ++++++++++++++++++- 3 files changed, 69 insertions(+), 56 deletions(-) diff --git a/components/gallery/GalleryItemButton/GalleryItemButton.vue b/components/gallery/GalleryItemButton/GalleryItemButton.vue index 1816fe5e13..40413afc19 100644 --- a/components/gallery/GalleryItemButton/GalleryItemButton.vue +++ b/components/gallery/GalleryItemButton/GalleryItemButton.vue @@ -6,9 +6,6 @@ @@ -20,9 +17,8 @@ import GalleryItemMoreActionBtn from './GalleryItemMoreActionBtn.vue' import { extractTwitterIdFromDescription } from '@/utils/parse' const { $i18n } = useNuxtApp() -const imageData = ref() -const { getNft: nft, getNftMetadata: nftMetadata, getNftMimeType: nftMimeType, getAbi: abi } = storeToRefs(useNftStore()) +const { getNft: nft, getAbi: abi } = storeToRefs(useNftStore()) const customSharingContent = computed(() => { const twitterId = nft.value?.meta?.description @@ -31,8 +27,6 @@ const customSharingContent = computed(() => { return twitterId ? $i18n.t('sharing.nftWithArtist', [twitterId]) : '' }) - -onKodahashRenderCompleted(({ payload }) => imageData.value = payload.image)