Not sure if bug or intended, but I noticed that after paywall is triggered by RevenueCatUI.presentPaywallIfNeeded() and user presses "Restore" (they have no subscription to restore) and then dismiss the paywall, RevenueCatUI.presentPaywallIfNeeded() returns PAYWALL_RESULT.RESTORED (in the jsdoc it says that this will be return if successful restore happened, but this is not the case).
The problem is that I can't rely on PAYWALL_RESULT.RESTORED in my code.
Any ideas?
![](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/78cde77b-8cea-4de0-8a0b-195c5b437dac.png)