mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 04:31:54 +00:00 
			
		
		
		
	Fix opening player sheet
This commit is contained in:
		| @@ -133,6 +133,13 @@ struct VideoPlayerView: View { | ||||
|                 #if os(iOS) | ||||
|                 .frame(width: playerWidth.isNil ? nil : Double(playerWidth!), height: playerHeight.isNil ? nil : Double(playerHeight!)) | ||||
|                 .ignoresSafeArea(.all, edges: playerEdgesIgnoringSafeArea) | ||||
|                 .onChange(of: player.presentingPlayer) { newValue in | ||||
|                     if newValue { | ||||
|                         viewDragOffset = 0 | ||||
|                     } else { | ||||
|                         viewDragOffset = Self.hiddenOffset | ||||
|                     } | ||||
|                 } | ||||
|                 .onAppear { | ||||
|                     viewDragOffset = 0 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal