diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/claim/fragment/reubication/fragment/ReubicationCollectionFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/claim/fragment/reubication/fragment/ReubicationCollectionFragment.kt index 1fe8277a..8ca0d62e 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/claim/fragment/reubication/fragment/ReubicationCollectionFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/claim/fragment/reubication/fragment/ReubicationCollectionFragment.kt @@ -224,13 +224,6 @@ class ReubicationCollectionFragment( } } - - response.observe(viewLifecycleOwner) { - viewModel.itemShelvingAlternative( - shelvingFk = shelving, - ) - } - } } diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt index 9c093853..76fc8a40 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/ubicador/fragment/AutomaticAddItemFragment.kt @@ -236,7 +236,7 @@ class AutomaticAddItemFragment( override fun observeViewModel() { with(viewModel) { - response.observe(viewLifecycleOwner) { + responseUbicator.observe(viewLifecycleOwner) { ma.onMyBackPressed() } }