1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-07 06:16:05 +02:00

fix(mobile): Fixed resolution format in Details (#14954)

Fixed resolution format on mobile
This commit is contained in:
Yaros
2024-12-27 16:20:07 +01:00
committed by GitHub
parent 227eb4b0a6
commit 2be1cb7de2

View File

@ -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!)
: ""; : "";