mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-30 20:22:06 +00:00 
			
		
		
		
	Watch Next behavior and settings
This commit is contained in:
		| @@ -27,10 +27,9 @@ struct VideoDetails: View { | ||||
|  | ||||
|     @ObservedObject private var accounts = AccountsModel.shared | ||||
|     let comments = CommentsModel.shared | ||||
|     var player = PlayerModel.shared | ||||
|     @ObservedObject private var player = PlayerModel.shared | ||||
|  | ||||
|     @Default(.enableReturnYouTubeDislike) private var enableReturnYouTubeDislike | ||||
|     @Default(.detailsToolbarPosition) private var detailsToolbarPosition | ||||
|     @Default(.playerSidebar) private var playerSidebar | ||||
|  | ||||
|     var body: some View { | ||||
| @@ -46,7 +45,7 @@ struct VideoDetails: View { | ||||
|             ) | ||||
|             .animation(nil, value: player.currentItem) | ||||
|  | ||||
|             VideoActions(video: video) | ||||
|             VideoActions(video: player.videoForDisplay) | ||||
|                 .animation(nil, value: player.currentItem) | ||||
|  | ||||
|             detailsPage | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal