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
minor cleanup
ammarahm-ed27cc60566b13
diff --git a/apps/mobile/src/components/SimpleList/MessageCard.js b/apps/mobile/src/components/SimpleList/MessageCard.jsindex 4c5d1107a..38c8d4777 100644--- a/apps/mobile/src/components/SimpleList/MessageCard.js+++ b/apps/mobile/src/components/SimpleList/MessageCard.js@@ -6,7 +6,6 @@ import {useTracked} from '../../provider';import {DDS} from '../../services/DeviceDetection';import { getElevation } from '../../utils';import {SIZE} from '../../utils/SizeUtils';-import Heading from '../Typography/Heading';import Paragraph from '../Typography/Paragraph';export const MessageCard = ({data, color}) => {diff --git a/apps/mobile/src/services/PremiumService.js b/apps/mobile/src/services/PremiumService.jsindex 405b404c1..bc1b4c3ee 100644--- a/apps/mobile/src/services/PremiumService.js+++ b/apps/mobile/src/services/PremiumService.js@@ -25,7 +25,6 @@ async function setPremiumStatus() {} catch (e) {premiumStatus = null;}- console.log(premiumStatus, 'PREMIUM STATUS');}function get() {diff --git a/apps/mobile/src/utils/index.js b/apps/mobile/src/utils/index.jsindex d10632073..bd114ec72 100755--- a/apps/mobile/src/utils/index.js+++ b/apps/mobile/src/utils/index.js@@ -154,6 +154,8 @@ export const SUBSCRIPTION_STATUS_STRINGS = {1: 'Trial',2: 'Beta',5: 'Pro',+ 6: 'Expired',+ 7: 'Pro'};export const BUTTON_TYPES = {diff --git a/apps/mobile/src/views/Editor/EditorHeader.js b/apps/mobile/src/views/Editor/EditorHeader.jsindex de5685783..91011c9db 100644--- a/apps/mobile/src/views/Editor/EditorHeader.js+++ b/apps/mobile/src/views/Editor/EditorHeader.js@@ -49,7 +49,7 @@ const EditorHeader = () => {}, [deviceMode]);useEffect(() => {- console.log(premiumUser,"PREMIUM USER EDITOR")+EditorWebView.current?.reload();}, [premiumUser]);diff --git a/apps/mobile/src/views/Editor/Functions.js b/apps/mobile/src/views/Editor/Functions.jsindex 64f774748..4fbccdf3b 100644--- a/apps/mobile/src/views/Editor/Functions.js+++ b/apps/mobile/src/views/Editor/Functions.js@@ -391,7 +391,7 @@ export async function saveNote() {}export async function onWebViewLoad(premium, colors) {- console.log(premium, 'PREMIUM');+EditorWebView.current?.injectJavaScript(INJECTED_JAVASCRIPT(premium));if (!checkNote()) {post('blur');@@ -404,7 +404,6 @@ export async function onWebViewLoad(premium, colors) {async function restoreEditorState() {let appState = await MMKV.getItem('appState');- console.log('restoring editor state',appState);if (appState) {appState = JSON.parse(appState);if (appState.editing && appState.note && appState.note.id) {