Browse Source

fix iosBiuld

Daniel Zlotin 7 years ago
parent
commit
6fb2376727
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      lib/ios/RNNTransitionStateHolder.h
  2. 1
    1
      lib/ios/RNNTransitionStateHolder.m

+ 1
- 1
lib/ios/RNNTransitionStateHolder.h View File

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 View File

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