Set option to user current location
This commit is contained in:
parent
edc77b0c17
commit
8f362d83cd
@ -133,7 +133,7 @@ class LocationSharingFragment @Inject constructor(
|
||||
private fun initOptionsPicker() {
|
||||
// TODO
|
||||
// change the options dynamically depending on the current chosen location
|
||||
views.shareLocationOptionsPicker.setOptions(LocationSharingOption.PINNED)
|
||||
views.shareLocationOptionsPicker.setOptions(LocationSharingOption.USER_CURRENT)
|
||||
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
|
||||
viewModel.handle(LocationSharingAction.OnShareLocation)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user