mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Set option to user current location
This commit is contained in:
parent
edc77b0c17
commit
8f362d83cd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue