[mob][photos] chore
This commit is contained in:
@@ -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]) {
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user