mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(mobile): Fixed resolution format in Details (#14954)
Fixed resolution format on mobile
This commit is contained in:
parent
227eb4b0a6
commit
2be1cb7de2
@ -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…
x
Reference in New Issue
Block a user