Daniel Zlotin hace 7 años
padre
commit
6fb2376727
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      lib/ios/RNNTransitionStateHolder.h
  2. 1
    1
      lib/ios/RNNTransitionStateHolder.m

+ 1
- 1
lib/ios/RNNTransitionStateHolder.h Ver fichero

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

+ 1
- 1
lib/ios/RNNTransitionStateHolder.m Ver fichero

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