mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-28 02:20:10 +01:00
Change naming for initLocateButton() method
This commit is contained in:
parent
f495150b4e
commit
6779fa1175
@ -71,7 +71,7 @@ class LocationSharingFragment @Inject constructor(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
initLocateBtn()
|
initLocateButton()
|
||||||
initOptionsPicker()
|
initOptionsPicker()
|
||||||
|
|
||||||
viewModel.observeViewEvents {
|
viewModel.observeViewEvents {
|
||||||
@ -143,7 +143,7 @@ class LocationSharingFragment @Inject constructor(
|
|||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun initLocateBtn() {
|
private fun initLocateButton() {
|
||||||
views.mapView.locateBtn.setOnClickListener {
|
views.mapView.locateBtn.setOnClickListener {
|
||||||
viewModel.handle(LocationSharingAction.ZoomToUserLocationAction)
|
viewModel.handle(LocationSharingAction.ZoomToUserLocationAction)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user