mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-30 22:18:59 -04:00 
			
		
		
		
	Remove usage of ternary conditional
This commit is contained in:
		
							parent
							
								
									0c78d9211f
								
							
						
					
					
						commit
						d6f9be6ee5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -765,8 +765,8 @@ struct Video | |||
|     info["microformat"]?.try &.["playerMicroformatRenderer"]["isFamilySafe"]?.try &.as_bool || false | ||||
|   end | ||||
| 
 | ||||
|   def is_vr : Bool | ||||
|     info.dig?("streamingData", "adaptiveFormats", 0, "projectionType").try &.as_s == "MESH" ? true : false || false | ||||
|   def is_vr : Bool? | ||||
|     info.dig?("streamingData", "adaptiveFormats", 0, "projectionType").try &.as_s == "MESH" | ||||
|   end | ||||
| 
 | ||||
|   def wilson_score : Float64 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 syeopite
						syeopite