We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f7877 commit d5745b4Copy full SHA for d5745b4
src/Views/Blame.axaml.cs
@@ -352,10 +352,10 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
352
353
if (change.Property == BlameDataProperty)
354
{
355
- if (BlameData != null)
+ if (BlameData is { IsBinary: false } blame)
356
357
- Models.TextMateHelper.SetGrammarByFileName(_textMate, BlameData.File);
358
- Text = BlameData.Content;
+ Models.TextMateHelper.SetGrammarByFileName(_textMate, blame.File);
+ Text = blame.Content;
359
}
360
else
361
0 commit comments