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
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final date = entry.bestDate;
|
final date = entry.bestDate;
|
||||||
final dateText = '${DateFormat.yMMMd().format(date)} – ${DateFormat.Hm().format(date)}';
|
final dateText = '${DateFormat.yMMMd().format(date)} at ${DateFormat.Hm().format(date)}';
|
||||||
final resolutionText = '${entry.width} × ${entry.height}${entry.isVideo ? '' : ' (${entry.megaPixels} MP)'}';
|
final resolutionText = '${entry.width} × ${entry.height}${(entry.isVideo || entry.isGif) ? '' : ' (${entry.megaPixels} MP)'}';
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
|
|
@ -180,7 +180,7 @@ class _FullscreenBottomOverlayContent extends StatelessWidget {
|
||||||
children: [
|
children: [
|
||||||
Icon(Icons.calendar_today, size: iconSize),
|
Icon(Icons.calendar_today, size: iconSize),
|
||||||
SizedBox(width: iconPadding),
|
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}')),
|
Expanded(flex: 2, child: Text('${entry.width} × ${entry.height}')),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue