Skip to content

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

disable premium check

ammarahm-ed41c8b6ca4833
diff --git a/apps/mobile/src/services/PremiumService.js b/apps/mobile/src/services/PremiumService.js
index 38e5b0ed5..557c5f3d5 100644
--- a/apps/mobile/src/services/PremiumService.js
+++ b/apps/mobile/src/services/PremiumService.js
@@ -1,4 +1,4 @@
-import { CHECK_IDS } from 'notes-core/common';
+import {CHECK_IDS} from 'notes-core/common';
import {db} from '../utils/DB';
import {eOpenPremiumDialog, eShowGetPremium} from '../utils/Events';
import {eSendEvent} from './EventManager';
@@ -24,10 +24,9 @@ function get() {
}
async function verify(callback, error) {
- /* if (!callback) console.warn('You must provide a callback function');
+ /* if (!callback) console.warn('You must provide a callback function');*/
await callback();
-
- return; */
+ return;
try {
let user = await db.user.getUser();
@@ -52,6 +51,8 @@ const onUserStatusCheck = async (type) => {
let status = get();
let message = null;
+ return {type, result: true};
+
if (!status) {
switch (type) {
case CHECK_IDS.noteColor: