mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Temp
This commit is contained in:
parent
0b18cddbb8
commit
3b4177a2af
9
submodules/AsyncDisplayKit/BUILD
vendored
9
submodules/AsyncDisplayKit/BUILD
vendored
@ -6,13 +6,14 @@ ASYNCDISPLAYKIT_EXPORTED_HEADERS = glob([
|
||||
"Source/Base/*.h",
|
||||
"Source/Debug/AsyncDisplayKit+Debug.h",
|
||||
"Source/TextKit/ASTextNodeTypes.h",
|
||||
"Source/TextKit/ASTextKitComponents.h"
|
||||
], exclude = ["Source/AsyncDisplayKit.h"])
|
||||
"Source/TextKit/ASTextKitComponents.h",
|
||||
], exclude = ["_Source/AsyncDisplayKit.h"]
|
||||
)
|
||||
|
||||
ASYNCDISPLAYKIT_PRIVATE_HEADERS = glob([
|
||||
"Source/**/*.h"
|
||||
],
|
||||
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS + ["Source/AsyncDisplayKit.h"],
|
||||
exclude = ASYNCDISPLAYKIT_EXPORTED_HEADERS + ["_Source/AsyncDisplayKit.h"],
|
||||
)
|
||||
|
||||
exported_headers_rule_name = "AsyncDisplayKit_ExportedHeaders"
|
||||
@ -48,7 +49,7 @@ objc_library(
|
||||
"Source/**/*.m",
|
||||
"Source/**/*.mm",
|
||||
"Source/Base/*.m",
|
||||
]) + private_headers,
|
||||
]) + ASYNCDISPLAYKIT_EXPORTED_HEADERS + ASYNCDISPLAYKIT_PRIVATE_HEADERS + private_headers,
|
||||
hdrs = exported_headers,
|
||||
defines = [
|
||||
"MINIMAL_ASDK",
|
||||
|
@ -6,6 +6,8 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#if YOGA
|
||||
|
||||
#import "AsyncDisplayKit/ASAvailability.h"
|
||||
#import "ASButtonNode+Yoga.h"
|
||||
#import <AsyncDisplayKit/ASButtonNode+Private.h>
|
||||
@ -13,7 +15,6 @@
|
||||
#import <AsyncDisplayKit/ASStackLayoutSpecUtilities.h>
|
||||
#import <AsyncDisplayKit/ASThread.h>
|
||||
|
||||
#if YOGA
|
||||
static void ASButtonNodeResolveHorizontalAlignmentForStyle(ASLayoutElementStyle *style, ASStackLayoutDirection _direction, ASHorizontalAlignment _horizontalAlignment, ASStackLayoutJustifyContent _justifyContent, ASStackLayoutAlignItems _alignItems) {
|
||||
if (_direction == ASStackLayoutDirectionHorizontal) {
|
||||
style.justifyContent = justifyContent(_horizontalAlignment, _justifyContent);
|
||||
@ -97,6 +98,8 @@ static void ASButtonNodeResolveVerticalAlignmentForStyle(ASLayoutElementStyle *s
|
||||
|
||||
#else
|
||||
|
||||
#import <AsyncDisplayKit/ASButtonNode+Private.h>
|
||||
|
||||
@implementation ASButtonNode (Yoga)
|
||||
|
||||
- (void)updateYogaLayoutIfNeeded {}
|
||||
|
@ -7,7 +7,7 @@
|
||||
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/Base/ASAvailability.h>
|
||||
#import <AsyncDisplayKit/ASAvailability.h>
|
||||
#import <AsyncDisplayKit/ASAvailability.h>
|
||||
#import <AsyncDisplayKit/ASHashing.h>
|
||||
#import <AsyncDisplayKit/ASTraitCollection.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user