diff --git a/lib/src/widgets/blockchain_height_widget.dart b/lib/src/widgets/blockchain_height_widget.dart index dab3fdd26..f7b071220 100644 --- a/lib/src/widgets/blockchain_height_widget.dart +++ b/lib/src/widgets/blockchain_height_widget.dart @@ -7,7 +7,7 @@ import 'package:cake_wallet/src/widgets/base_text_form_field.dart'; class BlockchainHeightWidget extends StatefulWidget { BlockchainHeightWidget({GlobalKey key, this.onHeightChange, this.focusNode, - this.onHeightOrDateEntered, this.hasDatePicker}) + this.onHeightOrDateEntered, this.hasDatePicker = true}) : super(key: key); final Function(int) onHeightChange;