diff --git a/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java b/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java index 020230d..8988d9c 100644 --- a/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java +++ b/HoloGraphLibrary/src/com/echo/holographlibrary/Bar.java @@ -55,10 +55,10 @@ public void setValue(float value) { public String getValueString() { - if (mValueString == null) { - return String.valueOf(mValue); - } else { + if (mValueString != null) { return mValueString; + } else { + return String.valueOf(mValue); } }