mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 04:31:54 +00:00 
			
		
		
		
	Merge pull request #565 from stonerl/private-instances
support for private instances
This commit is contained in:
		| @@ -105,6 +105,7 @@ extension PlayerModel { | ||||
|  | ||||
|     func playerAPI(_ video: Video) -> VideosAPI? { | ||||
|         guard let url = video.instanceURL else { return accounts.api } | ||||
|         if accounts.current?.url == url { return accounts.api } | ||||
|         switch video.app { | ||||
|         case .local: | ||||
|             return nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal