Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
smejl committed Feb 9, 2021
1 parent bfd2dfd commit 5514f82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Qonversion/QNProductCenterManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -559,11 +559,11 @@ - (void)handleRestoreCompletedTransactionsFinished {
[self launch:^(QNLaunchResult * _Nonnull result, NSError * _Nullable error) {
QNRestoreCompletionHandler restorePurchasesBlock = [weakSelf.restorePurchasesBlock copy];
weakSelf.restorePurchasesBlock = nil;
if (result) {
if (error) {
run_block_on_main(restorePurchasesBlock, @{}, error);
} else if (result) {
[weakSelf.launchResult setPermissions:result.permissions];
run_block_on_main(restorePurchasesBlock, result.permissions, error);
} else if (error) {
run_block_on_main(restorePurchasesBlock, @{}, error);
}
}];
}
Expand Down

0 comments on commit 5514f82

Please sign in to comment.