From: Damyan Ivanov Date: Thu, 4 Mar 2021 19:02:20 +0000 (+0200) Subject: separate error message text from the rest of the message X-Git-Tag: v0.17.0~36 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=0d9a99ad012cc6b7f6432249f314bbd1e694b01f;p=mobile-ledger.git separate error message text from the rest of the message --- 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(