Skip to content

Commit fdbe5d5

Browse files
Update Branch-SDK/src/main/java/io/branch/referral/BranchConfigurationController.kt
Co-authored-by: matter-code-review[bot] <150888575+matter-code-review[bot]@users.noreply.github.com>
1 parent 7babb5a commit fdbe5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/src/main/java/io/branch/referral/BranchConfigurationController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BranchConfigurationController {
3030
* @see Branch.expectDelayedSessionInitialization
3131
*/
3232
private fun getDelayedSessionInitUsed(): Boolean {
33-
return Branch.getInstance().prefHelper_.delayedSessionInitUsed
33+
return Branch.getInstance()?.prefHelper_?.delayedSessionInitUsed ?: false
3434
}
3535

3636
/**

0 commit comments

Comments
 (0)