Ver código fonte
				
				Reset navigationItem.titleView before applying new one, Fix topBar.titleView calculation on props change (#5041)
				
			 
			
				
					
						
							
							Yogev Ben David
						
						6 anos atrás
					 
					
				 
			 
			
				
					
					  
					  Nenhuma conta vinculada ao e-mail do autor do commit
					
				
			
		
		
	
	
		
			
				
				
					
						
						
							
								
									
										
											
	
		
			
			| 
				
			 | 
			
			
				@@ -169,6 +169,7 @@ 
			 | 
		
	
		
			
			| 
				169
			 | 
			
				169
			 | 
			
			
				 		NSString* alignment = [options.topBar.title.component.alignment getWithDefaultValue:@""]; 
			 | 
		
	
		
			
			| 
				170
			 | 
			
				170
			 | 
			
			
				 		[_customTitleView setAlignment:alignment]; 
			 | 
		
	
		
			
			| 
				171
			 | 
			
				171
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				172
			 | 
			
			
				+		viewController.navigationItem.titleView = nil; 
			 | 
		
	
		
			
			| 
				172
			 | 
			
				173
			 | 
			
			
				 		viewController.navigationItem.titleView = _customTitleView; 
			 | 
		
	
		
			
			| 
				173
			 | 
			
				174
			 | 
			
			
				 	} else { 
			 | 
		
	
		
			
			| 
				174
			 | 
			
				175
			 | 
			
			
				 		[_customTitleView removeFromSuperview]; 
			 |