From a824f124d040cc22ee06c9d4f75ee6cd6ff7493e Mon Sep 17 00:00:00 2001 From: joemarct Date: Wed, 16 Nov 2022 13:10:56 +0800 Subject: [PATCH] Fixed failure to launch custom keyboard in send page --- package-lock.json | 2 +- src/pages/transaction/send.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7725cfd71..d136d5aea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "paytaca", - "version": "0.11.1", + "version": "0.11.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/pages/transaction/send.vue b/src/pages/transaction/send.vue index a11cd4a96..a04fabfc4 100644 --- a/src/pages/transaction/send.vue +++ b/src/pages/transaction/send.vue @@ -614,7 +614,7 @@ export default { isValidLNSName: isNameLike, readonlyState (state) { this.amountInputState = state - if (this.amountInputState && this.online) { + if (this.amountInputState && this.$store.getters['global/getConnectivityStatus']) { this.customKeyboardState = 'show' } }, @@ -1063,6 +1063,10 @@ export default { vm.wallet = markRaw(wallet) if (vm.network === 'sBCH') vm.wallet.sBCH.getOrInitWallet() }) + + if (navigator.onLine) { + vm.onConnectivityChange(true) + } }, created () {