diff --git a/src/main/java/com/adr/helloiot/TopicInfoEdit.java b/src/main/java/com/adr/helloiot/TopicInfoEdit.java index 1074f60..e48c21a 100644 --- a/src/main/java/com/adr/helloiot/TopicInfoEdit.java +++ b/src/main/java/com/adr/helloiot/TopicInfoEdit.java @@ -293,7 +293,7 @@ private String getFormatBadge(StringFormat f) { } private String getQOSBadge(int i) { - if (i < 0) { + if (i == 0) { return STYLEQOSSPACE; } else { return STYLEQOS + Integer.toString(i);