mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Removed history list swipe to remove callbacks
This commit is contained in:
parent
3bbccf6c89
commit
7f9dbaec2a
1 changed files with 0 additions and 6 deletions
|
|
@ -44,8 +44,6 @@ import org.linphone.ui.main.history.model.ConfirmationDialogModel
|
|||
import org.linphone.ui.main.history.viewmodel.HistoryListViewModel
|
||||
import org.linphone.utils.DialogUtils
|
||||
import org.linphone.utils.Event
|
||||
import org.linphone.utils.RecyclerViewSwipeUtils
|
||||
import org.linphone.utils.RecyclerViewSwipeUtilsCallback
|
||||
import org.linphone.utils.hideKeyboard
|
||||
import org.linphone.utils.showKeyboard
|
||||
|
||||
|
|
@ -86,10 +84,6 @@ class HistoryListFragment : AbstractTopBarFragment() {
|
|||
val layoutManager = LinearLayoutManager(requireContext())
|
||||
binding.historyList.layoutManager = layoutManager
|
||||
|
||||
val swipeCallbacks = RecyclerViewSwipeUtilsCallback()
|
||||
val swipeHelper = RecyclerViewSwipeUtils(swipeCallbacks)
|
||||
swipeHelper.attachToRecyclerView(binding.historyList)
|
||||
|
||||
adapter.callLogLongClickedEvent.observe(viewLifecycleOwner) {
|
||||
it.consume { model ->
|
||||
val modalBottomSheet = HistoryMenuDialogFragment(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue