1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-06 00:02:48 +02:00

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

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