mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix ThemeData hashcode issue
This commit is contained in:
parent
9b9704e938
commit
1611ad37f3
1 changed files with 4 additions and 2 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Reference in a new issue