Skip to content

Commit

Permalink
Small cleanup to remove unnecessary internal import (TextureGroup#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
maicki authored May 23, 2019
1 parent e1859a1 commit b621c63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/ASDisplayNode+Yoga.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#if YOGA /* YOGA */

#import <AsyncDisplayKit/_ASDisplayViewAccessiblity.h>
#import <AsyncDisplayKit/_ASDisplayView.h>
#import <AsyncDisplayKit/ASYogaUtilities.h>
#import <AsyncDisplayKit/ASCollections.h>
#import <AsyncDisplayKit/ASDisplayNode+Beta.h>
Expand Down Expand Up @@ -408,7 +408,7 @@ - (void)calculateLayoutFromYogaRoot:(ASSizeRange)rootConstrainedSize willApply:(
// Reset accessible elements, since layout may have changed.
ASPerformBlockOnMainThread(^{
if (self.nodeLoaded && !self.isSynchronous) {
[(_ASDisplayView *)self.view setAccessibilityElements:nil];
self.view.accessibilityElements = nil;
}
});

Expand Down
1 change: 0 additions & 1 deletion Source/Details/_ASDisplayViewAccessiblity.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//

#import <Foundation/Foundation.h>
#import <AsyncDisplayKit/_ASDisplayView.h>

// WARNING: When dealing with accessibility elements, please use the `accessibilityElements`
// property instead of the older methods e.g. `accessibilityElementCount()`. While the older methods
Expand Down

0 comments on commit b621c63

Please sign in to comment.