Remove usage of strings to be deleted

This commit is contained in:
Maxime Naturel 2022-03-03 11:47:01 +01:00
parent 9b6811c915
commit 82515cf095
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ class LocationSharingFragment @Inject constructor(
private fun initOptionsPicker() { private fun initOptionsPicker() {
// TODO // TODO
// change the options dynamically depending on the current chosen location // 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 { views.shareLocationOptionsPicker.optionPinned.debouncedClicks {
viewModel.handle(LocationSharingAction.OnShareLocation) viewModel.handle(LocationSharingAction.OnShareLocation)
} }

View File

@ -26,7 +26,7 @@
android:id="@+id/shareLocationOptionIcon" android:id="@+id/shareLocationOptionIcon"
android:layout_width="40dp" android:layout_width="40dp"
android:layout_height="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:background="@drawable/circle"
tools:backgroundTint="?colorPrimary" tools:backgroundTint="?colorPrimary"
tools:padding="11dp" tools:padding="11dp"
@ -38,6 +38,6 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="?vctr_content_primary" android:textColor="?vctr_content_primary"
tools:text="@string/location_share" /> tools:text="@string/location_share_option_pinned" />
</merge> </merge>