refs #3520 feat:silex→salix

This commit is contained in:
Sergio De la torre 2024-04-19 09:44:56 +02:00
parent 99ec7c7fc3
commit 92136fe797
2 changed files with 2 additions and 8 deletions

View File

@ -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,
)

View File

@ -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(