Compare commits

..

No commits in common. "614ca2f52566558ffe8cae29df43970a088bccf5" and "76d9b739f6cb78c70f0392e7df5945e1d8b00ac1" have entirely different histories.

2 changed files with 3 additions and 10 deletions

View File

@ -889,18 +889,11 @@ public class WorkerInterface {
public static void sendRemoveTraderCall(String exchange, String pair, Context context) {
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setTitle("Remove trader from instance?");
final EditText input = new EditText(context);
input.setInputType(InputType.TYPE_CLASS_TEXT);
input.setTextAlignment(View.TEXT_ALIGNMENT_CENTER);
input.setText(pair);
builder.setView(input);
builder.setTitle("Remove "+ pair + " from instance?");
builder.setPositiveButton("Remove trader", (dialog, which) -> {
final String pairToRemove = input.getText().toString();
new Thread(() -> {
try {
JsonObject response = WorkerInterface.removeTrader(exchange, pairToRemove, true);
JsonObject response = WorkerInterface.removeTrader(exchange, pair, true);
new Handler(Looper.getMainLooper()).post(() -> {
showToggleDialog(response, context);
});

View File

@ -1,7 +1,7 @@
<resources>
<string name="app_name" translatable="false">DCAv2GUI</string>
<string name="nav_header_title" translatable="false">DCAv2</string>
<string name="nav_header_subtitle">Version 2025.05.16</string>
<string name="nav_header_subtitle">Version 2025.04.07</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="nav_header_desc">Navigation header</string>