From b50e2eb1f27dbe874df49c69a1463aeb812476aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Gonz=C3=A1lez?= Date: Tue, 25 Jun 2024 09:13:57 +0200 Subject: [PATCH] ANDROID-14752 Fix Badge (#368) * ANDROID-14752 Add a button to reproduce a bug * ANDROID-14752 Clear old badge before add another one --- .../components/BadgesCatalogFragment.kt | 25 ++++++++----------- .../main/res/layout/screen_badges_catalog.xml | 11 ++++++-- .../com/telefonica/mistica/badge/Badge.kt | 5 ++-- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/BadgesCatalogFragment.kt b/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/BadgesCatalogFragment.kt index 253128f74..a17781a33 100644 --- a/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/BadgesCatalogFragment.kt +++ b/catalog/src/main/java/com/telefonica/mistica/catalog/ui/classic/components/BadgesCatalogFragment.kt @@ -40,21 +40,18 @@ class BadgesCatalogFragment : Fragment() { badgeVisible = !badgeVisible } } - findViewById