Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Oct 26, 2024
1 parent a4ab05e commit 765ecd1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Fabulous.Avalonia/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ module ViewHelpers =
// but it has already been checked by Fabulous.ViewHelpers.canReuseView
if isNull def.TargetType then
true
else if def.TargetType.IsAssignableTo(typeof<TextBlock>) then
canReuseTextBlock prev curr
else
if def.TargetType.IsAssignableTo(typeof<TextBlock>) then
canReuseTextBlock prev curr
else
true
true
else
false

Expand Down

0 comments on commit 765ecd1

Please sign in to comment.