Added fixme

This commit is contained in:
kolaente 2019-04-10 22:09:29 +02:00
parent eab23b6e72
commit a977524755
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 11 additions and 9 deletions

View File

@ -75,12 +75,6 @@ class _ListPageState extends State<ListPage> {
);
}
List<Widget> _listTasks() {
var tasks = (_list?.tasks?.map(_buildTile) ?? []).toList();
tasks.addAll(_loadingTasks.map(_buildLoadingTile));
return tasks;
}
TaskTile _buildTile(Task task) {
return TaskTile(
task: task,

View File

@ -191,12 +191,20 @@ class _TaskEditPageState extends State<TaskEditPage> {
_reminderDates.add(null);
var currentIndex = _reminderDates.length - 1;
setState(
() => _reminderInputs.add(VikunjaDateTimePicker(
// FIXME: Why does putting this into a row fails?
setState(() => _reminderInputs.add(Row(
children: <Widget>[
VikunjaDateTimePicker(
label: 'Reminder',
onSaved: (reminder) =>
_reminderDates[currentIndex] = reminder,
)));
),
GestureDetector(
onTap: () => print('tapped'),
child: Icon(Icons.close),
)
],
)));
}),
InputDecorator(
isEmpty: _priority == null,