From 92136fe7973d9feaaedb65bac6152fab4b1ff525 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Fri, 19 Apr 2024 09:44:56 +0200 Subject: [PATCH] =?UTF-8?q?refs=20#3520=20feat:silex=E2=86=92salix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reubication/fragment/ReubicationCollectionFragment.kt | 6 +----- .../feature/reubication/fragment/ReubicationFragment.kt | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationCollectionFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationCollectionFragment.kt index d75a384f..26284e92 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationCollectionFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationCollectionFragment.kt @@ -51,7 +51,7 @@ class ReubicationCollectionFragment( override fun init() { customDialogInputTwoValues = CustomDialogInputTwoValues(requireContext()) ma.hideBottomNavigation(GONE) - binding.splashProgress.visibility = GONE + binding.mainToolbar.toolbarTitle.text = "${getString(R.string.wagoon)}:${shelving.uppercase()}" setEvents() @@ -152,7 +152,6 @@ class ReubicationCollectionFragment( customDialogMerge(itemReubication) }.setKoButton(getString(R.string.cancel)) { - binding.splashProgress.visibility = GONE customDialogInputTwoValues.setValueTwo("") scanRequest() customDialogInputTwoValues.dismiss() @@ -201,8 +200,6 @@ class ReubicationCollectionFragment( loadReubicationList.observe(viewLifecycleOwner) { event -> event.getContentIfNotHandled().notNull { - binding.splashProgress.visibility = GONE - if (it.list.isEmpty()) { @@ -235,7 +232,6 @@ class ReubicationCollectionFragment( } private fun callItemShelvingReturn() { - binding.splashProgress.visibility = VISIBLE viewModel.itemShelvingAlternative( shelvingFk = shelving, ) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationFragment.kt index b5c4d8fa..29f497a6 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/reubication/fragment/ReubicationFragment.kt @@ -57,7 +57,7 @@ class ReubicationFragment(var entrypoint: String) : if (actionId == EditorInfo.IME_ACTION_SEARCH || actionId == EditorInfo.IME_ACTION_DONE || actionId == 0 || actionId == 5) { goBack = false if (!binding.scanInput.text.isNullOrEmpty()) { - binding.splashProgress.visibility = VISIBLE + shelvingScaned = binding.scanInput.text.toString() viewModel.itemShelvingAlternative( shelvingFk = binding.scanInput.text.toString(), @@ -77,8 +77,6 @@ class ReubicationFragment(var entrypoint: String) : with(viewModel) { loadReubicationList.observe(viewLifecycleOwner) { event -> event.getContentIfNotHandled().notNull { - binding.splashProgress.visibility = GONE - if (it.list.isEmpty()) { ma.messageWithSound(