|  |  |  | @ -50,7 +50,6 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68; | 
		
	
		
			
				|  |  |  |  | @property (nonatomic) NSMutableSet<NSString *> *memberRecipientIds; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | @property (nonatomic) BOOL hasUnsavedChanges; | 
		
	
		
			
				|  |  |  |  | @property (nonatomic) BOOL shouldIgnoreSavedChanges; | 
		
	
		
			
				|  |  |  |  | @property (nonatomic) BOOL hasAppeared; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | @end | 
		
	
	
		
			
				
					|  |  |  | @ -552,7 +551,7 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68; | 
		
	
		
			
				|  |  |  |  | { | 
		
	
		
			
				|  |  |  |  |     [self.groupNameTextField resignFirstResponder]; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     if (!self.hasUnsavedChanges || self.shouldIgnoreSavedChanges) { | 
		
	
		
			
				|  |  |  |  |     if (!self.hasUnsavedChanges) { | 
		
	
		
			
				|  |  |  |  |         // If user made no changes, return to conversation settings view. | 
		
	
		
			
				|  |  |  |  |         [self.navigationController popViewControllerAnimated:YES]; | 
		
	
		
			
				|  |  |  |  |         return; | 
		
	
	
		
			
				
					|  |  |  | @ -571,7 +570,6 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68; | 
		
	
		
			
				|  |  |  |  |                                                      @"The label for the 'discard' button in alerts and action sheets.") | 
		
	
		
			
				|  |  |  |  |                                            style:UIAlertActionStyleDestructive | 
		
	
		
			
				|  |  |  |  |                                          handler:^(UIAlertAction *action) { | 
		
	
		
			
				|  |  |  |  |                                              self.shouldIgnoreSavedChanges = YES; | 
		
	
		
			
				|  |  |  |  |                                              [self.navigationController popViewControllerAnimated:YES]; | 
		
	
		
			
				|  |  |  |  |                                          }]]; | 
		
	
		
			
				|  |  |  |  |     [controller addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"TXT_CANCEL_TITLE", nil) | 
		
	
	
		
			
				
					|  |  |  | @ -655,8 +653,8 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | - (BOOL)shouldCancelNavigationBack | 
		
	
		
			
				|  |  |  |  | { | 
		
	
		
			
				|  |  |  |  |     BOOL result = self.hasUnsavedChanges && !self.shouldIgnoreSavedChanges; | 
		
	
		
			
				|  |  |  |  |     if (result) { | 
		
	
		
			
				|  |  |  |  |     BOOL result = self.hasUnsavedChanges; | 
		
	
		
			
				|  |  |  |  |     if (self.hasUnsavedChanges) { | 
		
	
		
			
				|  |  |  |  |         [self backButtonPressed]; | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  |     return result; | 
		
	
	
		
			
				
					|  |  |  | 
 |