소스 검색

fix iosBiuld

Daniel Zlotin 7 년 전
부모
커밋
6fb2376727
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      lib/ios/RNNTransitionStateHolder.h
  2. 1
    1
      lib/ios/RNNTransitionStateHolder.m

+ 1
- 1
lib/ios/RNNTransitionStateHolder.h 파일 보기

21
 @property (nonatomic, strong) NSString* fromId;
21
 @property (nonatomic, strong) NSString* fromId;
22
 @property (nonatomic, strong) NSString* toId;
22
 @property (nonatomic, strong) NSString* toId;
23
 @property (nonatomic, strong) RNNAnimatedView* animatedView;
23
 @property (nonatomic, strong) RNNAnimatedView* animatedView;
24
-@property (nonatomic, strong) NSString* isSharedElementTransition;
24
+@property (nonatomic) BOOL isSharedElementTransition;
25
 @property (nonatomic, strong) RNNViewLocation* locations;
25
 @property (nonatomic, strong) RNNViewLocation* locations;
26
 @property (nonatomic) BOOL isFromVC;
26
 @property (nonatomic) BOOL isFromVC;
27
 @property (nonatomic) double startY;
27
 @property (nonatomic) double startY;

+ 1
- 1
lib/ios/RNNTransitionStateHolder.m 파일 보기

25
 	self.toElement = nil;
25
 	self.toElement = nil;
26
 	self.animatedView = nil;
26
 	self.animatedView = nil;
27
 	self.locations  = nil; 
27
 	self.locations  = nil; 
28
-	self.isSharedElementTransition = [transition objectForKey:@"type"];
28
+	self.isSharedElementTransition = [[transition objectForKey:@"type"] isEqualToString:@"sharedElement"];
29
 	return self;
29
 	return self;
30
 }
30
 }
31
 
31