Fix small bug
This commit is contained in:
parent
9824429703
commit
315a113f16
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user