mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Remove usage of strings to be deleted
This commit is contained in:
parent
9b6811c915
commit
82515cf095
2 changed files with 3 additions and 3 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.USER_CURRENT)
|
||||
views.shareLocationOptionsPicker.setOptions(LocationSharingOption.USER_CURRENT, LocationSharingOption.USER_LIVE)
|
||||
views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
|
||||
viewModel.handle(LocationSharingAction.OnShareLocation)
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
android:id="@+id/shareLocationOptionIcon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:contentDescription="@string/a11y_location_share_icon"
|
||||
android:contentDescription="@string/a11y_location_share_option_pinned_icon"
|
||||
tools:background="@drawable/circle"
|
||||
tools:backgroundTint="?colorPrimary"
|
||||
tools:padding="11dp"
|
||||
|
@ -38,6 +38,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="?vctr_content_primary"
|
||||
tools:text="@string/location_share" />
|
||||
tools:text="@string/location_share_option_pinned" />
|
||||
|
||||
</merge>
|
||||
|
|
Loading…
Reference in a new issue