Skip to content

Commit 525cf73

Browse files
authored
Merge branch 'main' into quick_access_widget
2 parents 5ce4374 + 537a0ed commit 525cf73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/ViewModels/Properties/FileProperties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public async void GetSystemFileProperties()
161161
(double?)list.Find(x => x.Property == "System.GPS.LongitudeDecimal").Value);
162162
// Find Encoding Bitrate property and convert it to kbps
163163
var encodingBitrate = list.Find(x => x.Property == "System.Audio.EncodingBitrate");
164-
if (encodingBitrate is not null)
164+
if (encodingBitrate?.Value is not null)
165165
{
166166
var sizes = new string[] { "Bps", "KBps", "MBps", "GBps" };
167167
var order = (int)Math.Floor(Math.Log((uint)encodingBitrate.Value, 1024));

0 commit comments

Comments
 (0)