mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
upgrade to hummingbird 1.5.4 which handles legacy encoding in uppercase
This commit is contained in:
parent
6aaf532051
commit
f8fa929166
2 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ dependencies {
|
||||||
implementation('com.github.arteam:simple-json-rpc-server:1.0') {
|
implementation('com.github.arteam:simple-json-rpc-server:1.0') {
|
||||||
exclude group: 'org.slf4j'
|
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') {
|
implementation('com.nativelibs4java:bridj:0.7-20140918-3') {
|
||||||
exclude group: 'com.google.android.tools', module: 'dx'
|
exclude group: 'com.google.android.tools', module: 'dx'
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,8 +147,8 @@ public class QRScanDialog extends Dialog<QRScanDialog.Result> {
|
||||||
Matcher partMatcher = PART_PATTERN.matcher(qrtext);
|
Matcher partMatcher = PART_PATTERN.matcher(qrtext);
|
||||||
|
|
||||||
if(qrtext.toLowerCase().startsWith(UR.UR_PREFIX)) {
|
if(qrtext.toLowerCase().startsWith(UR.UR_PREFIX)) {
|
||||||
if(LegacyURDecoder.isLegacyURFragment(qrtext.toLowerCase())) {
|
if(LegacyURDecoder.isLegacyURFragment(qrtext)) {
|
||||||
legacyDecoder.receivePart(qrtext.toLowerCase());
|
legacyDecoder.receivePart(qrtext);
|
||||||
Platform.runLater(() -> percentComplete.setValue(legacyDecoder.getPercentComplete()));
|
Platform.runLater(() -> percentComplete.setValue(legacyDecoder.getPercentComplete()));
|
||||||
|
|
||||||
if(legacyDecoder.isComplete()) {
|
if(legacyDecoder.isComplete()) {
|
||||||
|
|
Loading…
Reference in a new issue