Skip to content

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

show premium dialogs

ammarahm-ed166d0dc27831
diff --git a/apps/mobile/src/services/PremiumService.js b/apps/mobile/src/services/PremiumService.js
index 557c5f3d5..7f805e997 100644
--- a/apps/mobile/src/services/PremiumService.js
+++ b/apps/mobile/src/services/PremiumService.js
@@ -19,14 +19,10 @@ async function setPremiumStatus() {
}
function get() {
- //return true;
return premiumStatus && premiumStatus !== 0 && premiumStatus !== 4;
}
async function verify(callback, error) {
- /* if (!callback) console.warn('You must provide a callback function');*/
- await callback();
- return;
try {
let user = await db.user.getUser();
@@ -51,8 +47,6 @@ const onUserStatusCheck = async (type) => {
let status = get();
let message = null;
- return {type, result: true};
-
if (!status) {
switch (type) {
case CHECK_IDS.noteColor: