From 7ee7e8336a7d17ada10ecb0d6b8558dfdfa63cb7 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Wed, 18 Sep 2024 13:17:09 +0200 Subject: [PATCH] feat: refs #7827 responseItem --- .../reubication/fragment/ReubicationCollectionFragment.kt | 7 ------- .../feature/ubicador/fragment/AutomaticAddItemFragment.kt | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) 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() } }