@@ -112,16 +112,20 @@ class _GttExportWidgetState extends State<GttExportWidget> {
112
112
113
113
Future <void > init () async {
114
114
_projects = [
115
- DropdownMenuItem (child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
115
+ DropdownMenuItem (
116
+ child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
116
117
];
117
118
_gpsLogsProj = [
118
- DropdownMenuItem (child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
119
+ DropdownMenuItem (
120
+ child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
119
121
];
120
122
_simpleNotesProj = [
121
- DropdownMenuItem (child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
123
+ DropdownMenuItem (
124
+ child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
122
125
];
123
126
_imagesProj = [
124
- DropdownMenuItem (child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
127
+ DropdownMenuItem (
128
+ child: Text (IEL .of (context).gttExport_selectProject), value: "none" )
125
129
];
126
130
127
131
_serverUrl = GpPreferences ().getStringSync (GttUtilities .KEY_GTT_SERVER_URL );
@@ -383,6 +387,16 @@ class _GttExportWidgetState extends State<GttExportWidget> {
383
387
SizedBox (
384
388
height: 32 ,
385
389
),
390
+ ListTile (
391
+ leading: Icon (
392
+ SmashIcons
393
+ .formNotesIcon,
394
+ color: SmashColors
395
+ .mainDecorations,
396
+ ),
397
+ title: SmashUI .normalText (
398
+ "${IEL .of (context ).gttExport_formNotes }: $_formNotesCount " ), //
399
+ ),
386
400
ListTile (
387
401
leading: Icon (
388
402
SmashIcons .logIcon,
@@ -391,7 +405,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
391
405
),
392
406
title: SmashUI .normalText (
393
407
"${IEL .of (context ).gttExport_gpsLogs }: $_gpsLogCount " ), //"Gps Logs:"
394
- trailing :
408
+ subtitle :
395
409
DropdownButton <
396
410
String >(
397
411
items: _gpsLogsProj,
@@ -413,7 +427,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
413
427
),
414
428
title: SmashUI .normalText (
415
429
"${IEL .of (context ).gttExport_simpleNotes }: $_simpleNotesCount " ), //"Simple Notes"
416
- trailing :
430
+ subtitle :
417
431
DropdownButton <
418
432
String >(
419
433
items:
@@ -436,7 +450,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
436
450
),
437
451
title: SmashUI .normalText (
438
452
"${IEL .of (context ).gttExport_images }: $_imagesCount " ), //"Images"
439
- trailing :
453
+ subtitle :
440
454
DropdownButton <
441
455
String >(
442
456
items: _imagesProj,
@@ -448,16 +462,6 @@ class _GttExportWidgetState extends State<GttExportWidget> {
448
462
s.toString ()),
449
463
),
450
464
),
451
- ListTile (
452
- leading: Icon (
453
- SmashIcons
454
- .formNotesIcon,
455
- color: SmashColors
456
- .mainDecorations,
457
- ),
458
- title: SmashUI .normalText (
459
- "${IEL .of (context ).gttExport_formNotes }: $_formNotesCount " ), //
460
- ),
461
465
],
462
466
),
463
467
),
0 commit comments