diff --git a/app/src/main/java/com/eventyay/organizer/core/event/create/UpdateEventFragment.java b/app/src/main/java/com/eventyay/organizer/core/event/create/UpdateEventFragment.java index ad2d21f07..46509bd70 100644 --- a/app/src/main/java/com/eventyay/organizer/core/event/create/UpdateEventFragment.java +++ b/app/src/main/java/com/eventyay/organizer/core/event/create/UpdateEventFragment.java @@ -109,7 +109,7 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, setHasOptionsMenu(true); - binding.form.eventOriginalImage.setOnClickListener(view -> { + binding.form.eventOriginalImageLayout.setOnClickListener(view -> { Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); diff --git a/app/src/main/res/layout/event_create_form.xml b/app/src/main/res/layout/event_create_form.xml index aa4de6026..ef0fb7a46 100644 --- a/app/src/main/res/layout/event_create_form.xml +++ b/app/src/main/res/layout/event_create_form.xml @@ -14,7 +14,6 @@ @@ -30,6 +29,7 @@ android:visibility="@{ event.originalImageUrl == null ? View.GONE : View.VISIBLE }"/>