Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5bfa committed Jun 30, 2024
1 parent c4a5a9e commit f50648a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ public void CheckForBackgroundImage()

// Opacity
var backgroundOpacity = filesAppSection.Parameters?.FirstOrDefault(x => x.Key == "Files_BackgroundOpacity").Value;
if (float.TryParse(backgroundOpacity, out var opacity) is false)
if (float.TryParse(backgroundOpacity, out var opacity))
FolderBackgroundImageOpacity = opacity;
else
FolderBackgroundImageOpacity = 1f;
Expand Down

0 comments on commit f50648a

Please sign in to comment.