From 0d9a99ad012cc6b7f6432249f314bbd1e694b01f Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 4 Mar 2021 21:02:20 +0200 Subject: [PATCH] separate error message text from the rest of the message --- .../ui/new_transaction/NewTransactionFragment.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java index ca147dd2..c54c1179 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java @@ -159,9 +159,10 @@ public class NewTransactionFragment extends Fragment { AlertDialog.Builder builder = new AlertDialog.Builder(context); final Resources resources = context.getResources(); final StringBuilder message = new StringBuilder(); - message.append(resources.getString(R.string.err_json_send_error_head)); - message.append("\n\n"); - message.append(error); + message.append(resources.getString(R.string.err_json_send_error_head)) + .append("\n\n") + .append(error) + .append("\n\n"); if (mProfile.getApiVersion() .equals(API.auto)) message.append( -- 2.39.5