diff --git a/vector/src/main/java/im/vector/app/features/location/live/LocationLiveStatusView.kt b/vector/src/main/java/im/vector/app/features/location/live/LocationLiveStatusView.kt index 9c724c9767..c2de2d9d13 100644 --- a/vector/src/main/java/im/vector/app/features/location/live/LocationLiveStatusView.kt +++ b/vector/src/main/java/im/vector/app/features/location/live/LocationLiveStatusView.kt @@ -19,6 +19,7 @@ package im.vector.app.features.location.live import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater +import android.widget.Button import androidx.constraintlayout.widget.ConstraintLayout import im.vector.app.databinding.ViewLocationLiveStatusBinding @@ -30,4 +31,7 @@ class LocationLiveStatusView @JvmOverloads constructor( LayoutInflater.from(context), this ) + + val stopButton: Button + get() = binding.locationLiveStatusStop } diff --git a/vector/src/main/res/layout/view_location_live_status.xml b/vector/src/main/res/layout/view_location_live_status.xml index fec9f58eaa..c104f3dc3b 100644 --- a/vector/src/main/res/layout/view_location_live_status.xml +++ b/vector/src/main/res/layout/view_location_live_status.xml @@ -39,11 +39,15 @@