Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Add parameter to customize Wait screen copy. #1152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valentinewallace
Copy link
Contributor

Closes #1038.

@@ -245,7 +246,7 @@ class WalletAction {
this.initResetPassword();
return this._notification.display({ msg: errorMsg });
}
this._nav.goWait();
this._payment.initWaitScreen({ copy: 'Updating password...' });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the wallet need access to the payment action for this? Would probably be cleaner to either:

a. create a wait action
b. let actions call nav.goWait({ copy: 'Updating password...' }) and set store.waitScreenCopy` in the nav action

Considering it's only a one liner, I'd lean towards b.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remembered this PR exists lol. Updating!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

progress page when sending a payment shows "loading network..."
2 participants