Change naming for initLocateButton() method

This commit is contained in:
Maxime Naturel 2022-03-14 17:21:55 +01:00
parent f495150b4e
commit 6779fa1175

View file

@ -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)
}