From 4a58b2defe3a84f31b8361e531b9888025209ee4 Mon Sep 17 00:00:00 2001 From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com> Date: Mon, 22 Aug 2022 19:42:38 +0200 Subject: [PATCH] Add missing things --- .../plugins/core/wallet/wallet-app.src.js | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js b/qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js index eab07482..cd50fc22 100644 --- a/qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js +++ b/qortal-ui-plugins/plugins/core/wallet/wallet-app.src.js @@ -54,7 +54,7 @@ class MultiWallet extends LitElement { dogeAmount: { type: Number }, dgbRecipient: { type: String }, dgbAmount: { type: Number }, - rvnRecipient: { type: String }, + rvnRecipient: { type: String }, rvnAmount: { type: Number }, arrrRecipient: { type: String }, arrrAmount: { type: Number }, @@ -69,7 +69,7 @@ class MultiWallet extends LitElement { ltcFeePerByte: { type: Number }, dogeFeePerByte: { type: Number }, dgbFeePerByte: { type: Number }, - rvnFeePerByte: { type: Number }, + rvnFeePerByte: { type: Number }, balanceString: { type: String }, arrrWalletAddress: { type: String }, exportErrorMessage: { type: String }, @@ -547,7 +547,7 @@ class MultiWallet extends LitElement { .qrcode-pos { margin-top: -175px; - margin-left: 450px; + float: right; } .send-pos { @@ -693,7 +693,7 @@ class MultiWallet extends LitElement { this.sendMoneyLoading = false this.isValidAmount = false this.btnDisable = false - this.balance = 0 + this.balance = 0 this.amount = 0 this.btcAmount = 0 this.ltcAmount = 0 @@ -804,7 +804,7 @@ class MultiWallet extends LitElement {

${translate("walletpage.wchange2")} -
+
${this.getSelectedWalletAddress()}

-
+
${this.renderSendButton()}
-
+
${this.renderAddressbookButton()}
-
+
@@ -1940,10 +1940,9 @@ class MultiWallet extends LitElement { -
- +

Pirate Chain ${translate("walletpage.wchange47")}

${this.renderExportAddressbookButton()}
${this.renderImportAddressbookButton()}


@@ -4251,6 +4250,7 @@ class MultiWallet extends LitElement { } } const coin = this._selectedWallet + await this.fetchWalletAddress(this._selectedWallet) await this.fetchWalletDetails(this._selectedWallet) if (this._selectedWallet == coin) { await this.renderTransactions() @@ -4262,9 +4262,9 @@ class MultiWallet extends LitElement { } async fetchWalletDetails(coin) { - this.balanceString = this.renderFetchText() switch (coin) { case 'qort': + this.balanceString = this.renderFetchText() parentEpml.request('apiCall', { url: `/addresses/balance/${this.wallets.get('qort').wallet.address}?apiKey=${this.getApiKey()}`, }) @@ -4294,7 +4294,8 @@ class MultiWallet extends LitElement { case 'ltc': case 'doge': case 'dgb': - case 'rvn': + case 'rvn': + this.balanceString = this.renderFetchText() const walletName = `${coin}Wallet` parentEpml.request('apiCall', { url: `/crosschain/${coin}/walletbalance?apiKey=${this.getApiKey()}`,