[mob][photos] chore

This commit is contained in:
ashilkn
2024-08-05 18:24:29 +05:30
parent f69214461d
commit 2916bcfda8
2 changed files with 4 additions and 3 deletions

View File

@@ -187,13 +187,13 @@ class FFProbeProps {
final width = stream[key];
if (width != null && width != 0) {
result._width = width.toString();
parsedData[FFProbeKeys.width] = result._width;
parsedData[key] = result._width;
}
} else if (key == FFProbeKeys.height) {
final height = stream[key];
if (height != null && height != 0) {
result._height = height.toString();
parsedData[FFProbeKeys.height] = result._height;
parsedData[key] = result._height;
}
} else if (key == FFProbeKeys.sideDataList) {
for (Map sideData in stream[key]) {

View File

@@ -146,7 +146,8 @@ class VideoExifDialog extends StatelessWidget {
}
if (value == null) {
return const SizedBox.shrink();
return const SizedBox
.shrink(); // Return an empty container if there's no data for the key.
}
return Padding(
padding: const EdgeInsets.symmetric(vertical: 4.0),