Skip to content

Commit

Permalink
Merge pull request #96 from somoso/patch-1
Browse files Browse the repository at this point in the history
Fix NoSuchKeyException
  • Loading branch information
mCodex authored Jul 31, 2018
2 parents cd098de + 93357dd commit 7034216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void getItem(String key, ReadableMap options, Promise pm) {

if (value != null && options.hasKey("touchID") && options.getBoolean("touchID")) {
boolean showModal = options.hasKey("showModal") && options.getBoolean("showModal");
HashMap strings = options.getMap("strings").toHashMap();
HashMap strings = options.hasKey("strings") ? options.getMap("strings").toHashMap() : new HashMap();

decryptWithAes(value, showModal, strings, pm, null);
} else {
Expand Down

0 comments on commit 7034216

Please sign in to comment.