Browse Source

followup prev

master
Sander van Grieken 2 years ago
parent
commit
dc3ff908b8
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 1
      electrum/gui/qml/java_classes/org/electrum/qr/SimpleScannerActivity.java

1
electrum/gui/qml/java_classes/org/electrum/qr/SimpleScannerActivity.java

@ -60,6 +60,7 @@ public class SimpleScannerActivity extends Activity implements ZXingScannerView.
// limit size of content. avoid https://developer.android.com/reference/android/os/TransactionTooLargeException.html
if (clipboardText.length() > 512 * 1024) {
Toast.makeText(SimpleScannerActivity.this, "Clipboard contents too large.", Toast.LENGTH_SHORT).show();
return;
}
SimpleScannerActivity.this.setResultAndClose(clipboardText);
} else {

Loading…
Cancel
Save