Style fixes

This commit is contained in:
tzugen 2021-12-07 00:06:41 +01:00
parent d8cdc81424
commit e337177715
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,7 @@ import android.content.Context
import android.view.LayoutInflater
import android.view.MenuItem
import android.view.MotionEvent
import android.view.View
import android.view.ViewGroup
import androidx.core.view.MotionEventCompat
import androidx.lifecycle.LifecycleOwner
import com.drakeet.multitype.ItemViewBinder
import org.koin.core.component.KoinComponent

View File

@ -864,9 +864,11 @@ class PlayerFragment :
draggable = true,
context = requireContext(),
lifecycleOwner = viewLifecycleOwner,
).apply { this.startDrag = { holder ->
dragTouchHelper.startDrag(holder)
} }
).apply {
this.startDrag = { holder ->
dragTouchHelper.startDrag(holder)
}
}
)
dragTouchHelper = ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(