Skip to content

Commit

Permalink
chore: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 authored Jun 5, 2024
1 parent 848b410 commit 1f94012
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public async Task When_SymbolIcon_Verify_Size()
#if __SKIA__ || __WASM__
var tb = SUT.FindChildren<TextBlock>().Single(tb => tb.Text.Length == 1 && tb.Text[0] == (char)Symbol.Home);
#else
var tb = (TextBlock)SUT.EnumerateAllChildren(c => c is TextBlock tb && tb.Text.Length == 1 && tb.Text[0] == (char)Symbol.Home).Single();
var tb = (TextBlock)SUT.EnumerateAllChildren(c => c is TextBlock textBlock && textBlock.Text.Length == 1 && textBlock.Text[0] == (char)Symbol.Home).Single();
#endif

Assert.AreEqual(12, tb.FontSize);
Expand Down

0 comments on commit 1f94012

Please sign in to comment.