Skip to content

Commit 0681a48

Browse files
committed
Code Quality: Fixed inverted if statement for CheckForBackgroundImage()
1 parent 2634ee8 commit 0681a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/ViewModels/ShellViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ private void GetDesktopIniFileData()
19391939

19401940
public void CheckForBackgroundImage()
19411941
{
1942-
if (WorkingDirectory == "Home" || WorkingDirectory == "ReleaseNotes" || WorkingDirectory != "Settings")
1942+
if (WorkingDirectory == "Home" || WorkingDirectory == "ReleaseNotes" || WorkingDirectory == "Settings")
19431943
{
19441944
FolderBackgroundImageSource = null;
19451945
return;

0 commit comments

Comments
 (0)