mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
fix: frost reshare issue when initiator is a new participant of a 1/2 config
This commit is contained in:
parent
e9252a4d46
commit
fed7ae91d9
2 changed files with 2 additions and 2 deletions
|
@ -208,7 +208,7 @@ class _FrostReshareStep2abdState extends ConsumerState<FrostReshareStep2abd> {
|
||||||
label: "Continue",
|
label: "Continue",
|
||||||
enabled: _userVerifyContinue &&
|
enabled: _userVerifyContinue &&
|
||||||
(amOutgoingParticipant ||
|
(amOutgoingParticipant ||
|
||||||
!fieldIsEmptyFlags.reduce((v, e) => v |= e)),
|
!fieldIsEmptyFlags.fold(false, (v, e) => v || e)),
|
||||||
onPressed: _onPressed,
|
onPressed: _onPressed,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -238,7 +238,7 @@ class _FrostReshareStep4State extends ConsumerState<FrostReshareStep4> {
|
||||||
label: amOutgoingParticipant ? "Done" : "Complete",
|
label: amOutgoingParticipant ? "Done" : "Complete",
|
||||||
enabled: (amNewParticipant || _userVerifyContinue) &&
|
enabled: (amNewParticipant || _userVerifyContinue) &&
|
||||||
(amOutgoingParticipant ||
|
(amOutgoingParticipant ||
|
||||||
!fieldIsEmptyFlags.reduce((v, e) => v |= e)),
|
!fieldIsEmptyFlags.fold(false, (v, e) => v || e)),
|
||||||
onPressed: _onPressed,
|
onPressed: _onPressed,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue