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 1f94012 commit 6c38f15
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 textBlock && textBlock.Text.Length == 1 && textBlock.Text[0] == (char)Symbol.Home).Single();
var tb = (TextBlock)SUT.EnumerateAllChildren().SingleOrDefault(c => c is TextBlock textBlock && textBlock.Text.Length == 1 && textBlock.Text[0] == (char)Symbol.Home);
#endif

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

0 comments on commit 6c38f15

Please sign in to comment.