Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

cleanup

ammarahm-edfd24dea0415e
diff --git a/apps/mobile/src/components/Premium/PremiumDialog.js b/apps/mobile/src/components/Premium/PremiumDialog.js
index 3745be9b7..2e2bbe093 100644
--- a/apps/mobile/src/components/Premium/PremiumDialog.js
+++ b/apps/mobile/src/components/Premium/PremiumDialog.js
@@ -53,7 +53,7 @@ class PremiumDialog extends React.Component {
}
}
- onSuccessfulSubscription = (subscription: RNIap.SubscriptionPurchase) => {
+ onSuccessfulSubscription = (subscription) => {
const receipt = subscription.transactionReceipt;
if (receipt) {
@@ -64,7 +64,7 @@ class PremiumDialog extends React.Component {
}
};
- onSubscriptionError = (error: RNIap.PurchaseError) => {
+ onSubscriptionError = (error) => {
console.log(error.message, 'Error');
ToastEvent.show(error.message);
};