From f8786abc14752c6aba624e1c6766f142fd623426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Thu, 4 Jun 2020 19:48:45 +0200 Subject: [PATCH] Fix accumulation of duplicate categories. --- .../com/codigoparallevar/minicards/toolbox/PartsHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/codigoparallevar/minicards/toolbox/PartsHolder.java b/app/src/main/java/com/codigoparallevar/minicards/toolbox/PartsHolder.java index d63bf56..21ab32c 100644 --- a/app/src/main/java/com/codigoparallevar/minicards/toolbox/PartsHolder.java +++ b/app/src/main/java/com/codigoparallevar/minicards/toolbox/PartsHolder.java @@ -46,7 +46,7 @@ public class PartsHolder { add(new Tuple2<>("ToString", ConvertToString.getInstantiator())); }}; - private final static List Categories = new Vector() {{ + private final List Categories = new Vector() {{ add(new PartCategory("Testing", BuiltInParts)); }}; private Map bridgeInfoMap;