Enhancement

design_3.0_demo_module
zaid_daoud 2 years ago
parent f1bf45763b
commit 34273178ac

@ -58,8 +58,8 @@ class _MonthlyFragmentState extends State<MonthlyFragment> {
lastDate: _lastDate,
initialDatePickerMode: DatePickerMode.year,
);
await snapshot.getCalenderRequests(from: DateTime(result.year, result.month), to: DateTime.now());
if (result != null) {
await snapshot.getCalenderRequests(from: DateTime(result.year, result.month), to: DateTime.now());
_initialDate = result;
setState(() {});
}

Loading…
Cancel
Save