From daf7e6049ccab41f5524b4bfbafae53e3e67d402 Mon Sep 17 00:00:00 2001 From: William Chong Date: Fri, 8 Mar 2024 12:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Change=20hint=20about=20likerlan?= =?UTF-8?q?d=20app=20to=20generic=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/AppHeader.vue | 12 +++++++---- components/Attentions/OpenLikerLandApp.vue | 23 +++++++--------------- components/MintPageContainer.vue | 10 +++++++--- locales/en.json | 2 +- pages/nft/iscn/_iscnId.vue | 8 ++++++-- 5 files changed, 29 insertions(+), 26 deletions(-) diff --git a/components/AppHeader.vue b/components/AppHeader.vue index 5549927e..f3bb2d5c 100644 --- a/components/AppHeader.vue +++ b/components/AppHeader.vue @@ -93,14 +93,14 @@ :title="currentAddress" >
- - - + +
diff --git a/components/MintPageContainer.vue b/components/MintPageContainer.vue index 754c02f9..1c75b0ec 100644 --- a/components/MintPageContainer.vue +++ b/components/MintPageContainer.vue @@ -49,8 +49,8 @@
- - + +
@@ -72,8 +72,12 @@ export default class Min5PageContainer extends Vue { @Prop({ default: false }) readonly isStateTransaction: boolean | undefined + get isUsingMobileApp() { + return this.walletType?.includes('mobile') || this.walletType?.includes('walletconnect') || this.isUsingLikerLandApp + } + get isUsingLikerLandApp() { - return this.walletType === 'liker-id' + return this.walletType === 'likerland-app' } get googleFormUrl() { diff --git a/locales/en.json b/locales/en.json index f2dfe51e..5ccdc063 100644 --- a/locales/en.json +++ b/locales/en.json @@ -273,7 +273,7 @@ "IscnUploaded.button.new": "Register Another ISCN", "IscnUploaded.guide.title": "Completed! Here is your ISCN", "IscnUploaded.title": "ISCN Registerd", - "NFTPortal.attention.openApp": "You have connected with WalletConnect. Please approve the transaction in Liker Land app.", + "NFTPortal.attention.openApp": "You have connected with WalletConnect. Please approve the transaction in wallet app.", "NFTPortal.button.create": "Create", "NFTPortal.button.collect": "Collect Now", "NFTPortal.button.convertToIscn": "Convert Content to Writing NFT", diff --git a/pages/nft/iscn/_iscnId.vue b/pages/nft/iscn/_iscnId.vue index 3a8277e8..df177cd4 100644 --- a/pages/nft/iscn/_iscnId.vue +++ b/pages/nft/iscn/_iscnId.vue @@ -424,12 +424,16 @@ export default class NFTMintPage extends Vue { return getNftModelApi(this.classId); } + get isUsingMobileApp() { + return this.walletType?.includes('mobile') || this.walletType?.includes('walletconnect') || this.isUsingLikerLandApp + } + get isUsingLikerLandApp() { - return this.walletType === 'liker-id' + return this.walletType === 'likerland-app' } get isTransactionSizeLimited() { - return this.isUsingLikerLandApp + return this.isUsingMobileApp } get createNftClassPayload() {