overlay/info: use bullet character in date/time

This commit is contained in:
Thibault Deckers 2020-03-21 10:34:12 +09:00
parent 901f2a07b9
commit af7cc94270
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ class BasicSection extends StatelessWidget {
@override
Widget build(BuildContext context) {
final date = entry.bestDate;
final dateText = date != null ? '${DateFormat.yMMMd().format(date)} at ${DateFormat.Hm().format(date)}' : '?';
final dateText = date != null ? '${DateFormat.yMMMd().format(date)} ${DateFormat.Hm().format(date)}' : '?';
final showMegaPixels = !entry.isVideo && !entry.isGif && entry.megaPixels != null && entry.megaPixels > 0;
final resolutionText = '${entry.width ?? '?'} × ${entry.height ?? '?'}${showMegaPixels ? ' (${entry.megaPixels} MP)' : ''}';

View file

@ -230,7 +230,7 @@ class _DateRow extends StatelessWidget {
@override
Widget build(BuildContext context) {
final date = entry.bestDate;
final dateText = date != null ? '${DateFormat.yMMMd().format(date)} at ${DateFormat.Hm().format(date)}' : '?';
final dateText = date != null ? '${DateFormat.yMMMd().format(date)} ${DateFormat.Hm().format(date)}' : '?';
final resolution = '${entry.width ?? '?'} × ${entry.height ?? '?'}';
return Row(
children: [