Release v2.0.4
@ -13,7 +13,6 @@ public partial class CivitFileViewModel : ObservableObject
public CivitFileViewModel(HashSet<string> installedModelHashes, CivitFile civitFile)
{
CivitFile = civitFile;
CivitFile.Name = Path.GetFileNameWithoutExtension(CivitFile.Name);
IsInstalled = CivitFile is {Type: CivitFileType.Model, Hashes.BLAKE3: not null} &&
installedModelHashes.Contains(CivitFile.Hashes.BLAKE3);
}
@ -78,7 +78,7 @@
IsVisible="{Binding IsInstalled}"
VerticalAlignment="Center" />
<TextBlock Grid.Row="0" Grid.Column="1"
Text="{Binding CivitFile.Name}"
Text="{Binding CivitFile.DisplayName}"
Margin="0, 4, 0, 4"
TextWrapping="Wrap" />
<TextBlock Grid.Row="1" Grid.Column="1"
@ -41,4 +41,6 @@ public class CivitFile
return fullFilesSize;
public string DisplayName => Path.GetFileNameWithoutExtension(Name);