fix frost send for people who use multisig using a single signer

This commit is contained in:
julian 2024-07-05 13:25:26 -06:00
parent 6d1e3e9629
commit 830fdab0c3

View file

@ -175,7 +175,7 @@ class _FrostSendStep3State extends ConsumerState<FrostSendStep3> {
PrimaryButton(
label: "Generate transaction",
enabled: _userVerifyContinue &&
!fieldIsEmptyFlags.reduce((v, e) => v |= e),
!fieldIsEmptyFlags.fold(false, (v, e) => v |= e),
onPressed: () async {
// collect Share strings
final sharesCollected = controllers.map((e) => e.text).toList();