From 3aa1032a7ab4bca9bc1a10725f37c16cd77d5aa0 Mon Sep 17 00:00:00 2001 From: Maxime Naturel Date: Thu, 3 Mar 2022 11:48:05 +0100 Subject: [PATCH] Rollback wrong sharing options --- .../im/vector/app/features/location/LocationSharingFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt b/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt index 788fa93f90..68a3badd1a 100644 --- a/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt +++ b/vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt @@ -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) }