diff --git a/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart b/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart index a95d8ec47..65c22e2f6 100644 --- a/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart +++ b/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_2abd.dart @@ -208,7 +208,7 @@ class _FrostReshareStep2abdState extends ConsumerState { label: "Continue", enabled: _userVerifyContinue && (amOutgoingParticipant || - !fieldIsEmptyFlags.reduce((v, e) => v |= e)), + !fieldIsEmptyFlags.fold(false, (v, e) => v || e)), onPressed: _onPressed, ), ], diff --git a/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart b/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart index f476c9096..41d94cdd1 100644 --- a/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart +++ b/lib/pages/add_wallet_views/frost_ms/reshare/frost_reshare_step_4.dart @@ -238,7 +238,7 @@ class _FrostReshareStep4State extends ConsumerState { label: amOutgoingParticipant ? "Done" : "Complete", enabled: (amNewParticipant || _userVerifyContinue) && (amOutgoingParticipant || - !fieldIsEmptyFlags.reduce((v, e) => v |= e)), + !fieldIsEmptyFlags.fold(false, (v, e) => v || e)), onPressed: _onPressed, ), ],