Remove 'customTitle' variable

This commit is contained in:
Jose Olarte III
2025-07-31 15:53:37 +08:00
parent 6d28a7d8a3
commit 0582954cfa
6 changed files with 5 additions and 23 deletions

View File

@@ -122,7 +122,6 @@ export default class GiftedDialog extends Vue {
amountInput = "0";
callbackOnSuccess?: (amount: number) => void = () => {};
customTitle?: string;
description = "";
firstStep = true; // true = Step 1 (giver/recipient selection), false = Step 2 (amount/description)
giver?: libsUtil.GiverReceiverInputInfo; // undefined means no identified giver agent
@@ -222,11 +221,9 @@ export default class GiftedDialog extends Vue {
giver?: libsUtil.GiverReceiverInputInfo,
receiver?: libsUtil.GiverReceiverInputInfo,
offerId?: string,
customTitle?: string,
prompt?: string,
callbackOnSuccess: (amount: number) => void = () => {},
) {
this.customTitle = customTitle;
this.giver = giver;
this.prompt = prompt || "";
this.receiver = receiver;