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 {
|
views.locationLiveStatusIndicator.stopButton.debouncedClicks {
|
||||||
timelineViewModel.handle(RoomDetailAction.StopLiveLocationSharing)
|
timelineViewModel.handle(RoomDetailAction.StopLiveLocationSharing)
|
||||||
}
|
}
|
||||||
views.locationLiveStatusIndicator.root.debouncedClicks {
|
views.locationLiveStatusIndicator.debouncedClicks {
|
||||||
navigateToLocationLiveMap()
|
navigateToLocationLiveMap()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,6 @@ package im.vector.app.features.location.live
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.util.AttributeSet
|
import android.util.AttributeSet
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.View
|
|
||||||
import android.widget.Button
|
import android.widget.Button
|
||||||
import androidx.constraintlayout.widget.ConstraintLayout
|
import androidx.constraintlayout.widget.ConstraintLayout
|
||||||
import im.vector.app.databinding.ViewLocationLiveStatusBinding
|
import im.vector.app.databinding.ViewLocationLiveStatusBinding
|
||||||
|
@ -35,9 +34,6 @@ class LocationLiveStatusView @JvmOverloads constructor(
|
||||||
this
|
this
|
||||||
)
|
)
|
||||||
|
|
||||||
val root: View
|
|
||||||
get() = binding.root
|
|
||||||
|
|
||||||
val stopButton: Button
|
val stopButton: Button
|
||||||
get() = binding.locationLiveStatusStop
|
get() = binding.locationLiveStatusStop
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue