Commit 0de517e
Changed files (2)
lib
model
screens
subsettings
lib/model/export_import.dart
@@ -193,11 +193,11 @@ class ExportFileCreator {
for (var entry in data)
pw.TableRow(
children: [
- pw.Text(entry.creationTime.toIso8601String()),
- pw.Text((entry.systolic ?? '').toString()),
- pw.Text((entry.diastolic ?? '').toString()),
- pw.Text((entry.pulse ?? '').toString()),
- pw.Text(entry.notes ?? '')
+ pw.Text(dateFormatter.format(entry.creationTime)),
+ pw.Text((entry.systolic ?? '-').toString()),
+ pw.Text((entry.diastolic ?? '-').toString()),
+ pw.Text((entry.pulse ?? '-').toString()),
+ pw.Text(entry.notes ?? '-')
]
)
]
lib/screens/subsettings/export_import_screen.dart
@@ -50,7 +50,7 @@ class ExportImportScreen extends StatelessWidget {
value: settings.exportFormat,
items: [
DropdownMenuItem(value: ExportFormat.csv, child: Text(AppLocalizations.of(context)!.csv)),
- //DropdownMenuItem(value: ExportFormat.pdf, child: Text(AppLocalizations.of(context)!.pdf)),
+ DropdownMenuItem(value: ExportFormat.pdf, child: Text(AppLocalizations.of(context)!.pdf)),
DropdownMenuItem(value: ExportFormat.db, child: Text(AppLocalizations.of(context)!.db)),
],
onChanged: (ExportFormat? value) {