Skip to content

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

fix incorrect indexes for providers object

ammarahm-edc1aab0662478
diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.js
index 825aeea36..28b589be3 100755
--- a/apps/mobile/src/utils/index.js
+++ b/apps/mobile/src/utils/index.js
@@ -159,24 +159,25 @@ export const SUBSCRIPTION_STATUS_STRINGS = {
};
export const SUBSCRIPTION_PROVIDER = {
- 0: {
+ 0: null,
+ 1: {
type: 'iOS',
title: 'Subscribed on iOS',
desc: 'You subscribed to Notesnook Pro on iOS using Apple In App Purchase.',
icon: 'ios',
},
- 1: {
+ 2: {
type: 'Android',
title: 'Subscribed on Android',
desc:
'You subscribed to Notesnook Pro on Android Phone/Tablet using Google In App Purchase.',
icon: 'android',
},
- 2: {
+ 3: {
type: 'Web',
title: 'Subscribed on Web',
desc:
- 'You subscribed to Notesnook Pro on the Web/Desktop App using doCheckout.',
+ 'You subscribed to Notesnook Pro on the Web/Desktop App.',
icon: 'web',
},
};