diff --git a/app/src/main/java/com/duy/calculator/activities/base/BaseEvaluatorActivity.java b/app/src/main/java/com/duy/calculator/activities/base/BaseEvaluatorActivity.java index 61093097..53d462b4 100644 --- a/app/src/main/java/com/duy/calculator/activities/base/BaseEvaluatorActivity.java +++ b/app/src/main/java/com/duy/calculator/activities/base/BaseEvaluatorActivity.java @@ -223,7 +223,7 @@ public void onSuccess(ArrayList result) { mBtnClear.setEnabled(true); for (String entry : result) { - mResultAdapter.addItem(new ResultEntry("", entry)); + mResultAdapter.addItem(new ResultEntry("", entry.charAt(2)=='-'?"$$"+entry.substring(3):entry)); } if (mResultAdapter.getItemCount() > 0) {