Fix wrong click listener on the current available option
This commit is contained in:
parent
89db867ab3
commit
2bdafde965
|
@ -135,10 +135,10 @@ class LocationSharingFragment @Inject constructor(
|
||||||
// change the options dynamically depending on the current chosen location
|
// change the options dynamically depending on the current chosen location
|
||||||
views.shareLocationOptionsPicker.render(LocationSharingOption.USER_CURRENT)
|
views.shareLocationOptionsPicker.render(LocationSharingOption.USER_CURRENT)
|
||||||
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
|
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
|
||||||
viewModel.handle(LocationSharingAction.OnShareLocation)
|
// TODO
|
||||||
}
|
}
|
||||||
views.shareLocationOptionsPicker.optionUserCurrent.debouncedClicks {
|
views.shareLocationOptionsPicker.optionUserCurrent.debouncedClicks {
|
||||||
// TODO
|
viewModel.handle(LocationSharingAction.OnShareLocation)
|
||||||
}
|
}
|
||||||
views.shareLocationOptionsPicker.optionUserLive.debouncedClicks {
|
views.shareLocationOptionsPicker.optionUserLive.debouncedClicks {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
Loading…
Reference in New Issue