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