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