From 720b943f60107356bed42b3939a9621db2c37a43 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Tue, 24 Jan 2023 10:59:43 +0100 Subject: [PATCH] Version 23.2 Solucionado historico items --- .../view/feature/articulo/fragment/ItemCardFragment.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt index 0286d7b6..8d6b4c3e 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/articulo/fragment/ItemCardFragment.kt @@ -112,18 +112,15 @@ class ItemCardFragment( when (item) { iconReload.drawable -> { - getItemCard(itemFk) + getItemCard(itemInfoG!!.id.toString()) } iconHistory.drawable -> { - if (itemFk.isNullOrEmpty()) { - getString(R.string.scanItem).toast(requireActivity()) - } else { + ma.onPasillerosItemClickListener( PasillerosItemVO(title = getString(R.string.titleHistorical)), itemInfoG!!.id.toString() ) - } } iconSalix.drawable -> {