diff --git a/build.gradle b/build.gradle index 1db708d3..878880ad 100644 --- a/build.gradle +++ b/build.gradle @@ -51,7 +51,7 @@ dependencies { implementation('com.github.arteam:simple-json-rpc-server:1.0') { exclude group: 'org.slf4j' } - implementation('com.sparrowwallet:hummingbird:1.5.3') + implementation('com.sparrowwallet:hummingbird:1.5.4') implementation('com.nativelibs4java:bridj:0.7-20140918-3') { exclude group: 'com.google.android.tools', module: 'dx' } diff --git a/src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java b/src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java index 874ea25a..aead72d1 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/QRScanDialog.java @@ -147,8 +147,8 @@ public class QRScanDialog extends Dialog { Matcher partMatcher = PART_PATTERN.matcher(qrtext); if(qrtext.toLowerCase().startsWith(UR.UR_PREFIX)) { - if(LegacyURDecoder.isLegacyURFragment(qrtext.toLowerCase())) { - legacyDecoder.receivePart(qrtext.toLowerCase()); + if(LegacyURDecoder.isLegacyURFragment(qrtext)) { + legacyDecoder.receivePart(qrtext); Platform.runLater(() -> percentComplete.setValue(legacyDecoder.getPercentComplete())); if(legacyDecoder.isComplete()) {