Fix ThemeData hashcode issue

This commit is contained in:
Jack251970 2025-04-04 20:15:47 +08:00
parent 9b9704e938
commit 1611ad37f3

View file

@ -1,4 +1,6 @@
namespace Flow.Launcher.Plugin;
using System;
namespace Flow.Launcher.Plugin;
/// <summary>
/// Theme data model
@ -60,7 +62,7 @@ public class ThemeData
/// <inheritdoc />
public override int GetHashCode()
{
return Name?.GetHashCode() ?? 0;
return HashCode.Combine(FileNameWithoutExtension, Name);
}
/// <inheritdoc />