|  |  | @ -17,6 +17,7 @@ interface Props { | 
			
		
	
		
		
			
				
					
					|  |  |  |   description: string; |  |  |  |   description: string; | 
			
		
	
		
		
			
				
					
					|  |  |  |   avatarPath: string; |  |  |  |   avatarPath: string; | 
			
		
	
		
		
			
				
					
					|  |  |  |   timerOptions: Array<TimerOption>; |  |  |  |   timerOptions: Array<TimerOption>; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   isPublic: boolean; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   onGoBack: () => void; |  |  |  |   onGoBack: () => void; | 
			
		
	
		
		
			
				
					
					|  |  |  |   onInviteFriends: () => void; |  |  |  |   onInviteFriends: () => void; | 
			
		
	
	
		
		
			
				
					|  |  | @ -183,9 +184,10 @@ export class SessionChannelSettings extends React.Component<Props, any> { | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   public render() { |  |  |  |   public render() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     const { memberCount, name, onLeaveGroup } = this.props; |  |  |  |     const { memberCount, name, onLeaveGroup, isPublic } = this.props; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     const { documents, media, onItemClick } = this.state; |  |  |  |     const { documents, media, onItemClick } = this.state; | 
			
		
	
		
		
			
				
					
					|  |  |  |     const showMemberCount = !!(memberCount && memberCount > 0); |  |  |  |     const showMemberCount = !!(memberCount && memberCount > 0); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     const leaveGroupString = isPublic ? window.i18n('leaveOpenGroup') : window.i18n('leaveClosedGroup'); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     return ( |  |  |  |     return ( | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div className="group-settings"> |  |  |  |       <div className="group-settings"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -213,7 +215,7 @@ export class SessionChannelSettings extends React.Component<Props, any> { | 
			
		
	
		
		
			
				
					
					|  |  |  |           onItemClick={onItemClick} |  |  |  |           onItemClick={onItemClick} | 
			
		
	
		
		
			
				
					
					|  |  |  |         /> |  |  |  |         /> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <SessionButton |  |  |  |         <SessionButton | 
			
		
	
		
		
			
				
					
					|  |  |  |           text={window.i18n('leaveGroup')} |  |  |  |           text={leaveGroupString} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           buttonColor={SessionButtonColor.Danger} |  |  |  |           buttonColor={SessionButtonColor.Danger} | 
			
		
	
		
		
			
				
					
					|  |  |  |           buttonType={SessionButtonType.SquareOutline} |  |  |  |           buttonType={SessionButtonType.SquareOutline} | 
			
		
	
		
		
			
				
					
					|  |  |  |           onClick={onLeaveGroup} |  |  |  |           onClick={onLeaveGroup} | 
			
		
	
	
		
		
			
				
					|  |  | 
 |