Skip to content

Commit 537c03f

Browse files
Fix null check issue
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 9052f7b commit 537c03f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher.Plugin/SharedModels/ThemeData.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public ThemeData(string fileNameWithoutExtension, string name, bool? isDark = nu
4343
{
4444
if (left is null && right is null)
4545
return true;
46+
if (left is null || right is null)
47+
return false;
4648
return left.Equals(right);
4749
}
4850

0 commit comments

Comments
 (0)