Set option to user current location

This commit is contained in:
Maxime Naturel 2022-03-03 10:18:53 +01:00
parent edc77b0c17
commit 8f362d83cd
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}