nami icon indicating copy to clipboard operation
nami copied to clipboard

Solves Issue #564: Line Breaks ("\n") isn't supported in Message shown when prompt to sign (signData method) (CIP30).

Open edridudi opened this issue 3 years ago • 0 comments
trafficstars

  • Payload is now splitted into separated lines by line breaks received in the msg data payload. (/r, /r/n, /n)
  • increased text area height to fill the blank gap (more room for message data content).

Example for the change: Before: Nami Before

After: Nami After

Raw msg sign data payload used:

String message = "Welcome to adabox.io!\n\n" +
                    "Click to sign in and accept the Adabox Terms of Service: https://adabox.io/tos\n\n" +
                    "This request will not trigger a blockchain transaction or cost any fees.\n\n" +
                    "Your authentication status will reset after 24 hours.\n\n" +
                    nonceTitle + nonce;

edridudi avatar Oct 09 '22 13:10 edridudi