diff --git a/lib/ui/settings/email_settings.dart b/lib/ui/settings/email_settings.dart index 9ed3a6cf6..4a0540024 100644 --- a/lib/ui/settings/email_settings.dart +++ b/lib/ui/settings/email_settings.dart @@ -283,16 +283,25 @@ class _EmailSettingsState extends State { String timeLabel; if (viewModel.state.company.settings.enableMilitaryTime) { timeLabel = '$hour:00'; - } else if (hour > 12) { - timeLabel = '${hour - 12}:00 PM'; } else { - timeLabel = '$hour:00 AM'; + if (hour > 12) { + timeLabel = '${hour - 12}:00 '; + } else { + timeLabel = '$hour:00 '; + } + + if (hour < 12 || hour == 24) { + timeLabel += 'AM'; + } else { + timeLabel += 'PM'; + } } return DropdownMenuItem( child: Text(timeLabel), value: hour, ); }).toList()), + SizedBox(height: 12), BoolDropdownButton( label: localization.attachPdf, value: settings.pdfEmailAttachment,