-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TAS-1816] 🚸 Display the reset password hint when hiding social options #60
Changes from 3 commits
723aad2
a42c288
74ee268
5f187b7
40d1747
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -22,6 +22,7 @@ | |||||
"wallet_connect_header_title_open_app": "啟動 App", | ||||||
"wallet_connect_header_title_scan_qrcode": "掃描二維碼", | ||||||
"wallet_connect_hint_approve": "請點擊以下按鈕打開 App 並批准連接請求。", | ||||||
"wallet_connect_hint_reset_password": "若找不到您原先的登入方式,請<span>重設密碼</span>", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||
"wallet_connect_hint_scan_qrcode_cosmostation_mobile": "請使用 Cosmostation Mobile Wallet app 掃描二維碼", | ||||||
"wallet_connect_hint_scan_qrcode_keplr_mobile": "請使用 Keplr Mobile app 掃描二維碼", | ||||||
"wallet_connect_hint_scan_qrcode_liker_land_app": "請使用 Liker Land app 掃描二維碼", | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,7 +349,8 @@ export class LikeCoinWalletConnector { | |
|
||
init = async ( | ||
methodType: LikeCoinWalletConnectorMethodType, | ||
params?: any | ||
params?: any, | ||
language = this.options.language, | ||
) => { | ||
let initiator: Promise<LikeCoinWalletConnectorInitResponse>; | ||
|
||
|
@@ -359,16 +360,19 @@ export class LikeCoinWalletConnector { | |
if (!accessToken) { | ||
initiator = new Promise(resolve => { | ||
this._renderingRoot.render( | ||
<AuthcoreDialog | ||
onMount={({ containerId }) => { | ||
initAuthcore(this.options, { containerId }); | ||
}} | ||
onClose={() => { | ||
this.closeDialog(); | ||
resolve(undefined); | ||
this._events.emit('authcore_auth_closed'); | ||
}} | ||
/> | ||
<IntlProvider language={language}> | ||
<AuthcoreDialog | ||
onMount={({ containerId }) => { | ||
initAuthcore(this.options, { containerId }); | ||
}} | ||
onClose={() => { | ||
this.closeDialog(); | ||
resolve(undefined); | ||
this._events.emit('authcore_auth_closed'); | ||
}} | ||
isHideSocialLogin={!!(this.options.authcoreClientId === 'likecoin-app-hidesocial')} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please name this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
/> | ||
</IntlProvider> | ||
); | ||
}); | ||
} else { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💬 Adjust wording