Skip to content

Commit aa1da2b

Browse files
authored
Merge pull request #95 from Leanplum/sdk-351-no-pending-downloads
Fix Request NoPendingDownloads
2 parents b4b0d92 + 5638d57 commit aa1da2b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Leanplum-Unity-SDK/Assets/LeanplumSDK/Native/LeanplumNative.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,13 @@ public override void Start(string userId, IDictionary<string, object> attributes
494494
{
495495
OnVariablesChangedAndNoDownloadsPending();
496496
}
497-
};
498-
499-
LeanplumRequest.NoPendingDownloads += delegate
500-
{
501-
OnVariablesChangedAndNoDownloadsPending();
497+
else
498+
{
499+
LeanplumRequest.NoPendingDownloads += delegate
500+
{
501+
OnVariablesChangedAndNoDownloadsPending();
502+
};
503+
}
502504
};
503505

504506
string deviceId;

0 commit comments

Comments
 (0)