Skip to content

Commit

Permalink
[iOS] Fixed NRE after calling ViewCell.ForceUpdateSize
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalyKnyazev authored and PureWeen committed Jun 18, 2024
1 parent 78991f0 commit b1fad42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Cells/Cell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async void OnForceUpdateSizeRequested()
// don't run more than once per 16 milliseconds
await Task.Delay(TimeSpan.FromMilliseconds(16));
ForceUpdateSizeRequested?.Invoke(this, null);
Handler.Invoke("ForceUpdateSizeRequested", null);
Handler?.Invoke("ForceUpdateSizeRequested", null);

_nextCallToForceUpdateSizeQueued = false;
}
Expand Down

0 comments on commit b1fad42

Please sign in to comment.