Skip to content

Commit bc1a94d

Browse files
committed
Updates shouldPersist options unwrapping. FIXES #18
1 parent c29d4b3 commit bc1a94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNZendeskChatModule.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ @implementation RNZendeskChatModule
2424
if (options[@"phone"]) {
2525
visitor.phone = options[@"phone"];
2626
}
27-
visitor.shouldPersist = options[@"shouldPersist"] || NO;
27+
visitor.shouldPersist = [options[@"shouldPersist"] boolValue] || NO;
2828
}];
2929
}
3030

0 commit comments

Comments
 (0)