mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
fix(mobile): Fixed resolution format in Details (#14954)
Fixed resolution format on mobile
This commit is contained in:
parent
227eb4b0a6
commit
2be1cb7de2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class FileInfo extends StatelessWidget {
|
||||||
final height = asset.orientatedHeight ?? asset.height;
|
final height = asset.orientatedHeight ?? asset.height;
|
||||||
final width = asset.orientatedWidth ?? asset.width;
|
final width = asset.orientatedWidth ?? asset.width;
|
||||||
String resolution =
|
String resolution =
|
||||||
height != null && width != null ? "$height x $width " : "";
|
height != null && width != null ? "$width x $height " : "";
|
||||||
String fileSize = asset.exifInfo?.fileSize != null
|
String fileSize = asset.exifInfo?.fileSize != null
|
||||||
? formatBytes(asset.exifInfo!.fileSize!)
|
? formatBytes(asset.exifInfo!.fileSize!)
|
||||||
: "";
|
: "";
|
||||||
|
|
Loading…
Reference in a new issue