Fixed infinite-loading-new-entry bug.

This commit is contained in:
2023-06-22 15:36:43 -04:00
parent 2195a5324c
commit 9824429703
2 changed files with 18 additions and 13 deletions
@@ -209,6 +209,7 @@ class _DayViewState extends State<DayView> {
Expanded(
child: TextFormField(
decoration: InputDecoration(hintText: "Comments"),
textCapitalization: TextCapitalization.sentences,
smartQuotesType: SmartQuotesType.enabled,
enableInteractiveSelection: true,
controller: commentsController,
@@ -293,7 +294,7 @@ class _HourGeneratorState extends State<HourGenerator> {
double height = double.parse((e['num'] * 36).toString());
return Consumer<CategoriesAPI>(
builder: (context, categories, child) {
Category category = categories.lookUp(e['val'].toString());
dynamic category = categories.lookUp(e['val'].toString());
return SizedBox(
height: height,
child: GestureDetector(