Removing non necessary root binding
This commit is contained in:
parent
03ebad14c4
commit
989c2ee967
|
@ -859,7 +859,7 @@ class TimelineFragment @Inject constructor(
|
|||
views.locationLiveStatusIndicator.stopButton.debouncedClicks {
|
||||
timelineViewModel.handle(RoomDetailAction.StopLiveLocationSharing)
|
||||
}
|
||||
views.locationLiveStatusIndicator.root.debouncedClicks {
|
||||
views.locationLiveStatusIndicator.debouncedClicks {
|
||||
navigateToLocationLiveMap()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ package im.vector.app.features.location.live
|
|||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.widget.Button
|
||||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import im.vector.app.databinding.ViewLocationLiveStatusBinding
|
||||
|
@ -35,9 +34,6 @@ class LocationLiveStatusView @JvmOverloads constructor(
|
|||
this
|
||||
)
|
||||
|
||||
val root: View
|
||||
get() = binding.root
|
||||
|
||||
val stopButton: Button
|
||||
get() = binding.locationLiveStatusStop
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue