mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
fix setpassword text button
This commit is contained in:
parent
3b1158a908
commit
ba5705ca74
2 changed files with 5 additions and 4 deletions
|
@ -3155,6 +3155,7 @@ password.forgotPassword=Forgot password?
|
|||
password.backupReminder=Please note that when setting a wallet password all automatically created backups from the unencrypted wallet will be deleted.\n\n\
|
||||
It is highly recommended that you make a backup of the application directory and write down your seed words before setting a password!
|
||||
password.backupWasDone=I have already made a backup
|
||||
password.setPassword=Set the password
|
||||
|
||||
seed.seedWords=Wallet seed words
|
||||
seed.enterSeedWords=Enter wallet seed words
|
||||
|
|
|
@ -116,10 +116,10 @@ public class PasswordView extends ActivatableView<GridPane, Void> {
|
|||
pwButton.setOnAction(e -> {
|
||||
if (!walletsManager.areWalletsEncrypted()) {
|
||||
new Popup().backgroundInfo(Res.get("password.backupReminder"))
|
||||
.secondaryActionButtonText(Res.get("password.backupWasDone"))
|
||||
.onSecondaryAction(() -> onApplyPassword(busyAnimation, deriveStatusLabel))
|
||||
.actionButtonTextWithGoTo("navigation.account.walletSeed")
|
||||
.onAction(() -> {
|
||||
.actionButtonText(Res.get("password.setPassword"))
|
||||
.onAction(() -> onApplyPassword(busyAnimation, deriveStatusLabel))
|
||||
.secondaryActionButtonTextWithGoTo(Res.get("navigation.account.walletSeed"))
|
||||
.onSecondaryAction(() -> {
|
||||
navigation.setReturnPath(navigation.getCurrentPath());
|
||||
navigation.navigateTo(MainView.class, AccountView.class, SeedWordsView.class);
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue