mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix: crash when long pressing watch history item
This commit is contained in:
parent
0ebe784a90
commit
a154f5241f
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user