Displays correct switch price

This commit is contained in:
Nicolás Sánchez 2025-01-15 10:52:34 -03:00
parent d2cd669a90
commit ad5929a774
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ public class WorkerCardAdapter{
worker.getNextSoPrice()>worker.getMinSwitchPrice()) { worker.getNextSoPrice()>worker.getMinSwitchPrice()) {
//Green //Green
nextSoPrice.setTextColor(Color.parseColor("#00FF00")); nextSoPrice.setTextColor(Color.parseColor("#00FF00"));
nextSoPrice.setText(String.format(Locale.ROOT, "%.8f", worker.getMinSwitchPrice()));
} }
takeProfitPrice.setText(String.format(Locale.ROOT, "%.8f", worker.getTakeProfitPrice())); takeProfitPrice.setText(String.format(Locale.ROOT, "%.8f", worker.getTakeProfitPrice()));