Skip to content
Snippets Groups Projects
Commit d4d60bee authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

conversation: cleanup

Remove unused code

Change-Id: Ib473455603ed0b8ccfc4d186836027521c53eda2
parent a301e7f1
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,6 @@ import cx.ring.services.SharedPreferencesServiceImpl.Companion.getConversationCo
import cx.ring.services.SharedPreferencesServiceImpl.Companion.getConversationPreferences
import cx.ring.services.SharedPreferencesServiceImpl.Companion.getConversationSymbol
import cx.ring.utils.*
import cx.ring.utils.MediaButtonsHelper.MediaButtonsHelperCallback
import cx.ring.views.AvatarDrawable
import cx.ring.views.AvatarFactory
import dagger.hilt.android.AndroidEntryPoint
......@@ -86,8 +85,7 @@ import java.util.*
@AndroidEntryPoint
class ConversationFragment : BaseSupportFragment<ConversationPresenter, ConversationView>(),
MediaButtonsHelperCallback, ConversationView,
SearchView.OnQueryTextListener {
ConversationView, SearchView.OnQueryTextListener {
private var locationServiceConnection: ServiceConnection? = null
private var binding: FragConversationBinding? = null
private var mAudioCallBtn: MenuItem? = null
......@@ -1160,18 +1158,6 @@ class ConversationFragment : BaseSupportFragment<ConversationPresenter, Conversa
updateListPadding()
}
override fun positiveMediaButtonClicked() {
presenter.clickOnGoingPane()
}
override fun negativeMediaButtonClicked() {
presenter.clickOnGoingPane()
}
override fun toggleMediaButtonClicked() {
presenter.clickOnGoingPane()
}
private fun setLoading(isLoading: Boolean) {
val binding = binding ?: return
if (isLoading) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment