diff --git a/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt b/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt index 348be7d023..85d0b54098 100644 --- a/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt +++ b/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt @@ -71,7 +71,7 @@ class LocationSharingFragment @Inject constructor( ) } - initLocateBtn() + initLocateButton() initOptionsPicker() viewModel.observeViewEvents { @@ -143,7 +143,7 @@ class LocationSharingFragment @Inject constructor( .show() } - private fun initLocateBtn() { + private fun initLocateButton() { views.mapView.locateBtn.setOnClickListener { viewModel.handle(LocationSharingAction.ZoomToUserLocationAction) }