diff --git a/lib/pages/personal/wallet/point_record_view.dart b/lib/pages/personal/wallet/point_record_view.dart index f6d0dd01..77288977 100644 --- a/lib/pages/personal/wallet/point_record_view.dart +++ b/lib/pages/personal/wallet/point_record_view.dart @@ -59,7 +59,7 @@ class _PointRecordViewState extends State { child: Row( children: [ GestureDetector( - onTap: () async { + onTap: () async { var date = await BeeDatePicker.monthPicker( DateTime.now().subtract(Duration(days: 365))); if (date != null) { diff --git a/lib/widget/picker/bee_month_pick_body.dart b/lib/widget/picker/bee_month_pick_body.dart index f04e8dff..a554f0b8 100644 --- a/lib/widget/picker/bee_month_pick_body.dart +++ b/lib/widget/picker/bee_month_pick_body.dart @@ -31,7 +31,7 @@ class _BeeMonthPickBodyState extends State { (index) => index + 1); @override - void initState() async{ + void initState(){ setState(() {}); _pickYear = widget.initTime.year; _pickMonth = 1;