Rollback wrong sharing options

This commit is contained in:
Maxime Naturel 2022-03-03 11:48:05 +01:00
parent 82515cf095
commit 3aa1032a7a

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.USER_CURRENT, LocationSharingOption.USER_LIVE)
views.shareLocationOptionsPicker.setOptions(LocationSharingOption.USER_CURRENT)
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
viewModel.handle(LocationSharingAction.OnShareLocation)
}