Skip to content
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

feat(*): support customising prompt for KMD password and Mnemonic phrase #322

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PatrickDinh
Copy link
Contributor

@PatrickDinh PatrickDinh commented Dec 3, 2024

There are scenarios where customising window.prompt are needed:

  • There are environments where window.prompt isn't supported, for example, Tauri app built for macOS
  • a better UI to display the message is required

To implement this change:

  • add options to customise the prompt to KMD and Mnemonic wallets
  • when the option isn't set, fallback to the default window.prompt

There are scenarios where customsing window.prompt are needed:
- window.prompt isn't supported, for example, on macOS WebKit
- a better UI to display the message
To implement this change, I have:
- add options to customise the prompt to KMD and Mnemonic wallets
- when the option isn't set, fallback to the default window.prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant