From b9c06d81587066c5642cacf83d306b999696b6c8 Mon Sep 17 00:00:00 2001 From: David Riha Date: Thu, 12 Apr 2018 14:01:38 +0200 Subject: [PATCH] Added missing exclamation point The currentInstallation object was never cached between app launches, because the exclamation mark was missing. When you look at the similar code in ParseUser, the exclamation mark is there, confirming this is a typo. --- Parse/Public/ParseInstallation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parse/Public/ParseInstallation.cs b/Parse/Public/ParseInstallation.cs index 74f6a7bf..b9d7629f 100644 --- a/Parse/Public/ParseInstallation.cs +++ b/Parse/Public/ParseInstallation.cs @@ -284,7 +284,7 @@ protected override Task SaveAsync(Task toAwait, CancellationToken cancellationTo return base.SaveAsync(toAwait, cancellationToken); }).Unwrap().OnSuccess(_ => { - if (CurrentInstallationController.IsCurrent(this)) + if (!CurrentInstallationController.IsCurrent(this)) { return Task.FromResult(0); }