mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
exchange flow recipient address from stack selection bugfix
This commit is contained in:
parent
d3cd8d956a
commit
63b76df9ca
2 changed files with 8 additions and 3 deletions
|
@ -224,8 +224,10 @@ class _Step2ViewState extends ConsumerState<Step2View> {
|
||||||
|
|
||||||
_toController.text = wallet.info.name;
|
_toController.text = wallet.info.name;
|
||||||
model.recipientAddress = (await wallet
|
model.recipientAddress = (await wallet
|
||||||
.getCurrentReceivingAddress())!
|
.getCurrentReceivingAddress())
|
||||||
.value;
|
?.value ??
|
||||||
|
wallet
|
||||||
|
.info.cachedReceivingAddress;
|
||||||
|
|
||||||
setState(() {
|
setState(() {
|
||||||
enableNext =
|
enableNext =
|
||||||
|
|
|
@ -234,7 +234,10 @@ class _DesktopChooseFromStackState
|
||||||
CustomTextButton(
|
CustomTextButton(
|
||||||
text: "Select wallet",
|
text: "Select wallet",
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
final address = wallet.info.cachedReceivingAddress;
|
final address =
|
||||||
|
(await wallet.getCurrentReceivingAddress())
|
||||||
|
?.value ??
|
||||||
|
wallet.info.cachedReceivingAddress;
|
||||||
|
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
Navigator.of(context).pop(
|
Navigator.of(context).pop(
|
||||||
|
|
Loading…
Reference in a new issue