Skip to content

Commit

Permalink
#12623 - Use correct caption
Browse files Browse the repository at this point in the history
  • Loading branch information
MateStrysewske committed Oct 10, 2023
1 parent e66e573 commit 3ccfef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected void onLayoutBinding(FragmentEnvironmentNewLayoutBinding contentBindin
setUpControlListeners(contentBinding);
contentBinding.setData(record);

EnvironmentValidator.initializeLocationValidations(contentBinding.environmentEnvironmentLocation, () -> record.getLocation());
EnvironmentValidator.initializeLocationValidations(contentBinding.environmentLocation, () -> record.getLocation());

contentBinding.environmentEnvironmentMedia.initializeSpinner(environmentMediaList);

Expand All @@ -77,7 +77,7 @@ protected void onLayoutBinding(FragmentEnvironmentNewLayoutBinding contentBindin
}

private void setUpControlListeners(final FragmentEnvironmentNewLayoutBinding contentBinding) {
contentBinding.environmentEnvironmentLocation.setOnClickListener(new View.OnClickListener() {
contentBinding.environmentLocation.setOnClickListener(new View.OnClickListener() {

@Override
public void onClick(View v) {
Expand All @@ -100,7 +100,7 @@ private void openAddressPopup(final FragmentEnvironmentNewLayoutBinding contentB
locationDialog.setPositiveCallback(() -> {
try {
FragmentValidator.validate(getContext(), locationDialog.getContentBinding());
contentBinding.environmentEnvironmentLocation.setValue(locationClone);
contentBinding.environmentLocation.setValue(locationClone);
record.setLocation(locationClone);
contentBinding.environmentResponsibleUser.initializeSpinner(updateResponsibleUserList(record.getLocation().getDistrict()));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
app:value="@={data.environmentName}" />

<de.symeda.sormas.app.component.controls.ControlTextPopupField
android:id="@+id/environment_environmentLocation"
android:id="@+id/environment_location"
style="@style/ControlSingleColumnStyle"
app:hint="@string/hint_enter_location"
app:iconStart="@drawable/ic_edit_location_black_24dp"
Expand Down

0 comments on commit 3ccfef4

Please sign in to comment.