fix: crash when long pressing watch history item

This commit is contained in:
Bnyro 2023-09-11 11:11:48 +02:00
parent 0ebe784a90
commit a154f5241f

View File

@ -80,7 +80,7 @@ class WatchHistoryAdapter(
notifyItemChanged(position) notifyItemChanged(position)
} }
val sheet = VideoOptionsBottomSheet() 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) sheet.show(fragmentManager, WatchHistoryAdapter::class.java.name)
true true
} }