Skip to content

Commit

Permalink
make it more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 24, 2023
1 parent 975346f commit b77fc5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ - (NSUInteger)wdIndex
- (BOOL)isWDHittable
{
XCUIHitPointResult *result = [self hitPoint:nil];
return result.hittable;
return nil == result ? NO : result.hittable;
}

- (NSDictionary *)wdRect
Expand Down

0 comments on commit b77fc5c

Please sign in to comment.