A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix promo code not applied
ammarahm-ed39b3f5ee04b5
diff --git a/apps/mobile/src/components/Premium/PremiumComponent.js b/apps/mobile/src/components/Premium/PremiumComponent.jsindex 7e1560d4a..a4fac816c 100644--- a/apps/mobile/src/components/Premium/PremiumComponent.js+++ b/apps/mobile/src/components/Premium/PremiumComponent.js@@ -332,12 +332,14 @@ export const PremiumComponent = ({close, promo, getRef}) => {positiveText: 'Apply',positivePress: async value => {if (!value) return;+ console.log(value);try {let productId = await db.offers.getCode(value,Platform.OS);if (productId) {+ getPromo(productId)ToastEvent.show({heading: 'Discount applied!',type: 'success',