mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
fix shadowing
This commit is contained in:
parent
f6c0a2bc15
commit
f6929ee00c
@ -357,7 +357,6 @@ class PlayerFragment : BaseFragment() {
|
||||
endId: Int,
|
||||
progress: Float
|
||||
) {
|
||||
val mainActivity = activity as MainActivity
|
||||
val mainMotionLayout =
|
||||
mainActivity.binding.mainMotionLayout
|
||||
mainMotionLayout.progress = abs(progress)
|
||||
@ -368,7 +367,6 @@ class PlayerFragment : BaseFragment() {
|
||||
|
||||
override fun onTransitionCompleted(motionLayout: MotionLayout?, currentId: Int) {
|
||||
println(currentId)
|
||||
val mainActivity = activity as MainActivity
|
||||
val mainMotionLayout =
|
||||
mainActivity.binding.mainMotionLayout
|
||||
if (currentId == eId) {
|
||||
|
Loading…
Reference in New Issue
Block a user