Fix calling completion callback for setContentInset in specific situation (#3605)

This commit is contained in:
yousifd
2025-07-15 12:34:40 +03:00
committed by GitHub
parent 115043c8ba
commit 2e53cfdc66

View File

@@ -6339,7 +6339,8 @@ static void *windowScreenContext = &windowScreenContext;
CLLocation *location = self.userLocation.location;
if ( ! _showsUserLocation || ! location
|| ! CLLocationCoordinate2DIsValid(location.coordinate)
|| self.userTrackingMode == MLNUserTrackingModeNone)
|| self.userTrackingMode == MLNUserTrackingModeNone
|| self.userTrackingState == MLNUserTrackingStateBegan)
{
if (completion)
{