Skip to content

Commit b7cad29

Browse files
committed
Fix variable name in Breadcrumb's child added method
Correct the variable name in the `AnimatedStack_ChildAdded` method from `firstBreadcrumb` to `lastBreadcrumb` to accurately reflect the logic of waiting for the last breadcrumb to be fully rendered before proceeding.
1 parent 6a6bb8d commit b7cad29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scr/Breadcrumb.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ async void AnimatedStack_ChildAdded(object? sender, ElementEventArgs e)
274274
{
275275
await Task.Run(async () =>
276276
{
277-
while(BreadCrumbContainer.Children.LastOrDefault() is not View firstBreadcrumb || firstBreadcrumb.Width <= 0)
277+
while(BreadCrumbContainer.Children.LastOrDefault() is not View lastBreadcrumb || lastBreadcrumb.Width <= 0)
278278
{
279279
await Task.Delay(100);
280280
}

0 commit comments

Comments
 (0)