Fixed infinite-loading-new-entry bug.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user