Skip to content

Commit 79020e4

Browse files
committed
changed reference for the config location to be the shared instance
1 parent 4c92a3c commit 79020e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ static boolean isUrlOpenAllowed(@NonNull String url) {
285285
return true;
286286
}
287287

288-
for (String allowedProtocol : IterableApi.getInstance().config.allowedProtocols) {
288+
for (String allowedProtocol : IterableApi.sharedInstance.config.allowedProtocols) {
289289
if (urlProtocol.equals(allowedProtocol)) {
290290
return true;
291291
}

0 commit comments

Comments
 (0)