Merge pull request #4757 from Bnyro/master

fix: crash when long pressing watch history item
This commit is contained in:
Bnyro 2023-09-11 11:10:54 +02:00 committed by GitHub
commit 0e3d2a6138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ class WatchHistoryAdapter(
notifyItemChanged(position)
}
val sheet = VideoOptionsBottomSheet()
sheet.arguments = bundleOf(IntentData.streamItem to video)
sheet.arguments = bundleOf(IntentData.streamItem to video.toStreamItem())
sheet.show(fragmentManager, WatchHistoryAdapter::class.java.name)
true
}