Paused trader now shows PAUSED text

This commit is contained in:
Nicolás Sánchez 2025-01-10 09:12:14 -03:00
parent 7733a36e87
commit a390b88c3b
2 changed files with 3 additions and 2 deletions

View File

@ -147,8 +147,8 @@ public class WorkerCardAdapter{
workerStatusString.setText(R.string.last_deal_notice); workerStatusString.setText(R.string.last_deal_notice);
workerStatusString.setVisibility(View.VISIBLE); workerStatusString.setVisibility(View.VISIBLE);
} else if (worker.isPaused()) { } else if (worker.isPaused()) {
cardLayout.setBackgroundColor(Color.parseColor("#C5C281")); workerStatusString.setText(R.string.pause_notice);
workerStatusString.setVisibility(View.INVISIBLE); workerStatusString.setVisibility(View.VISIBLE);
} else if (worker.isAuto()) { } else if (worker.isAuto()) {
String stringToDisplay = "AUTO"; String stringToDisplay = "AUTO";
if (worker.getPrice()!=0) { if (worker.getPrice()!=0) {

View File

@ -81,6 +81,7 @@
<string name="exchange_4_log_title" translatable="false">OKX log</string> <string name="exchange_4_log_title" translatable="false">OKX log</string>
<string name="loading_message">Querying data sources…</string> <string name="loading_message">Querying data sources…</string>
<string name="last_deal_notice">LAST DEAL</string> <string name="last_deal_notice">LAST DEAL</string>
<string name="pause_notice">PAUSED</string>
<string name="autoswitch_notice">AUTO</string> <string name="autoswitch_notice">AUTO</string>
<string name="fire_icon_legend">Fire icon</string> <string name="fire_icon_legend">Fire icon</string>
</resources> </resources>