]> git.ktnx.net Git - mobile-ledger.git/commitdiff
separate error message text from the rest of the message
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Mar 2021 19:02:20 +0000 (21:02 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Mar 2021 19:02:20 +0000 (21:02 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java

index ca147dd262d8f74dd3801c61f71639c24a7ed115..c54c11798fde11acea4b9fae083ca985792838b4 100644 (file)
@@ -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(