minor fixes
This commit is contained in:
parent
24f254454f
commit
b4d9863dda
2 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@ class BasicSection extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final date = entry.bestDate;
|
||||
final dateText = '${DateFormat.yMMMd().format(date)} – ${DateFormat.Hm().format(date)}';
|
||||
final resolutionText = '${entry.width} × ${entry.height}${entry.isVideo ? '' : ' (${entry.megaPixels} MP)'}';
|
||||
final dateText = '${DateFormat.yMMMd().format(date)} at ${DateFormat.Hm().format(date)}';
|
||||
final resolutionText = '${entry.width} × ${entry.height}${(entry.isVideo || entry.isGif) ? '' : ' (${entry.megaPixels} MP)'}';
|
||||
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
|
|
@ -180,7 +180,7 @@ class _FullscreenBottomOverlayContent extends StatelessWidget {
|
|||
children: [
|
||||
Icon(Icons.calendar_today, size: iconSize),
|
||||
SizedBox(width: iconPadding),
|
||||
Expanded(flex: 3, child: Text('${DateFormat.yMMMd().format(date)} – ${DateFormat.Hm().format(date)}')),
|
||||
Expanded(flex: 3, child: Text('${DateFormat.yMMMd().format(date)} at ${DateFormat.Hm().format(date)}')),
|
||||
Expanded(flex: 2, child: Text('${entry.width} × ${entry.height}')),
|
||||
],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue