change type and name of enable zbar config variable

This commit is contained in:
Craig Raw
2023-07-18 11:49:25 +02:00
parent f88628c469
commit b0883f034b
2 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ public class ZBar {
private final static boolean enabled;
static { // static initializer
if(com.sparrowwallet.sparrow.io.Config.get().isZbarScan()) {
if(com.sparrowwallet.sparrow.io.Config.get().isUseZbar()) {
enabled = loadLibrary();
} else {
enabled = false;