Fix small bug

This commit is contained in:
Ryan Pandya 2023-06-26 13:53:44 -04:00
parent 9824429703
commit 315a113f16

View File

@ -65,6 +65,7 @@ class _DayViewState extends State<DayView> {
dayEntry = value;
});
}
print(entries.length);
setState(() {
if (dayEntry != null) {
@ -294,7 +295,7 @@ class _HourGeneratorState extends State<HourGenerator> {
double height = double.parse((e['num'] * 36).toString());
return Consumer<CategoriesAPI>(
builder: (context, categories, child) {
dynamic category = categories.lookUp(e['val'].toString());
Category category = categories.lookUp(e['val'].toString());
return SizedBox(
height: height,
child: GestureDetector(