diff --git a/src/views/ClaimAddRawView.vue b/src/views/ClaimAddRawView.vue index f3e73c443..4e615dee6 100644 --- a/src/views/ClaimAddRawView.vue +++ b/src/views/ClaimAddRawView.vue @@ -32,7 +32,6 @@ import { Component, Vue } from "vue-facing-decorator"; import { Router } from "vue-router"; -import GiftedDialog from "@/components/GiftedDialog.vue"; import { NotificationIface } from "@/constants/app"; import { db } from "@/db/index"; import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings"; @@ -40,7 +39,7 @@ import * as serverUtil from "@/libs/endorserServer"; import QuickNav from "@/components/QuickNav.vue"; @Component({ - components: { GiftedDialog, QuickNav }, + components: { QuickNav }, }) export default class ClaimAddRawView extends Vue { $notify!: (notification: NotificationIface, timeout?: number) => void; diff --git a/src/views/ConfirmGiftView.vue b/src/views/ConfirmGiftView.vue index e77cd789a..938a7481e 100644 --- a/src/views/ConfirmGiftView.vue +++ b/src/views/ConfirmGiftView.vue @@ -400,7 +400,6 @@ import { Component, Vue } from "vue-facing-decorator"; import { useClipboard } from "@vueuse/core"; import { Router } from "vue-router"; -import GiftedDialog from "@/components/GiftedDialog.vue"; import QuickNav from "@/components/QuickNav.vue"; import { NotificationIface } from "@/constants/app"; import { accountsDB, db } from "@/db/index"; @@ -408,18 +407,13 @@ import { Account } from "@/db/tables/accounts"; import { Contact } from "@/db/tables/contacts"; import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings"; import * as serverUtil from "@/libs/endorserServer"; -import { - displayAmount, - GenericCredWrapper, - GiverReceiverInputInfo, - OfferVerifiableCredential, -} from "@/libs/endorserServer"; +import { displayAmount } from "@/libs/endorserServer"; import * as libsUtil from "@/libs/util"; import { isGiveAction } from "@/libs/util"; @Component({ methods: { displayAmount }, - components: { GiftedDialog, QuickNav }, + components: { QuickNav }, }) export default class ClaimView extends Vue { $notify!: (notification: NotificationIface, timeout?: number) => void; @@ -771,20 +765,6 @@ export default class ClaimView extends Vue { }); } - openFulfillGiftDialog() { - const giver: GiverReceiverInputInfo = { - did: libsUtil.offerGiverDid( - this.veriClaim as GenericCredWrapper, - ), - }; - (this.$refs.customGiveDialog as GiftedDialog).open( - giver, - undefined, - this.giveDetails.handleId, - "Offer fulfilled by " + (giver?.name || "someone not named"), - ); - } - copyToClipboard(name: string, text: string) { useClipboard() .copy(text) diff --git a/src/views/ContactImportView.vue b/src/views/ContactImportView.vue index 343bfc0b5..4a5376211 100644 --- a/src/views/ContactImportView.vue +++ b/src/views/ContactImportView.vue @@ -91,11 +91,10 @@ import { Contact } from "@/db/tables/contacts"; import * as libsUtil from "@/libs/util"; import QuickNav from "@/components/QuickNav.vue"; import EntityIcon from "@/components/EntityIcon.vue"; -import GiftedDialog from "@/components/GiftedDialog.vue"; import OfferDialog from "@/components/OfferDialog.vue"; @Component({ - components: { GiftedDialog, EntityIcon, OfferDialog, QuickNav }, + components: { EntityIcon, OfferDialog, QuickNav }, }) export default class ContactImportView extends Vue { $notify!: (notification: NotificationIface, timeout?: number) => void;