fix numbers in overview
This commit is contained in:
@@ -73,8 +73,6 @@ class _ViewEntriesState extends State<ViewEntries> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
setState(() {});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// The widet tree with taps to differentiate between templates and finished entries
|
// The widet tree with taps to differentiate between templates and finished entries
|
||||||
@@ -179,7 +177,7 @@ class _ViewEntriesState extends State<ViewEntries> {
|
|||||||
),
|
),
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
title: Text(
|
title: Text(
|
||||||
'${widget.dbType == DatabasesEnum.place ? AppLocalizations.of(context)!.justplace : AppLocalizations.of(context)!.excursion} ${mainEntries[index]["ID"]}'),
|
'${index + 1}'),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
dateFormat.format(DateTime.parse(
|
dateFormat.format(DateTime.parse(
|
||||||
mainEntries[index]["Datum"])),
|
mainEntries[index]["Datum"])),
|
||||||
@@ -301,7 +299,7 @@ class _ViewEntriesState extends State<ViewEntries> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
title: Text(
|
title: Text(
|
||||||
'${widget.dbType == DatabasesEnum.place ? AppLocalizations.of(context)!.justplace : AppLocalizations.of(context)!.excursion} ${templates[index]["ID"]}'),
|
'${index + 1}'),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
dateFormat.format(
|
dateFormat.format(
|
||||||
DateTime.parse(templates[index]["Datum"])),
|
DateTime.parse(templates[index]["Datum"])),
|
||||||
|
|||||||
Reference in New Issue
Block a user