mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 20:31:02 +00:00
feat: transition for mediainfofragment items
This commit is contained in:
@@ -396,10 +396,8 @@ class MediaAdaptor(
|
|||||||
if (itemCompactImage != null) {
|
if (itemCompactImage != null) {
|
||||||
ActivityOptionsCompat.makeSceneTransitionAnimation(
|
ActivityOptionsCompat.makeSceneTransitionAnimation(
|
||||||
activity,
|
activity,
|
||||||
Pair.create(
|
itemCompactImage,
|
||||||
itemCompactImage,
|
ViewCompat.getTransitionName(itemCompactImage)!!
|
||||||
ViewCompat.getTransitionName(activity.findViewById(R.id.itemCompactImage))!!
|
|
||||||
),
|
|
||||||
).toBundle()
|
).toBundle()
|
||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
|
|||||||
Reference in New Issue
Block a user