Fix wrong click listener on the current available option

This commit is contained in:
Maxime Naturel 2022-03-04 15:43:33 +01:00
parent 89db867ab3
commit 2bdafde965
1 changed files with 2 additions and 2 deletions

View File

@ -135,10 +135,10 @@ class LocationSharingFragment @Inject constructor(
// change the options dynamically depending on the current chosen location
views.shareLocationOptionsPicker.render(LocationSharingOption.USER_CURRENT)
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
viewModel.handle(LocationSharingAction.OnShareLocation)
// TODO
}
views.shareLocationOptionsPicker.optionUserCurrent.debouncedClicks {
// TODO
viewModel.handle(LocationSharingAction.OnShareLocation)
}
views.shareLocationOptionsPicker.optionUserLive.debouncedClicks {
// TODO