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
set placeholder only on reset
ammarahm-ed413bde8edee4
diff --git a/apps/mobile/src/screens/editor/Functions.js b/apps/mobile/src/screens/editor/Functions.jsindex f0f3106c2..850797650 100644--- a/apps/mobile/src/screens/editor/Functions.js+++ b/apps/mobile/src/screens/editor/Functions.js@@ -697,10 +697,6 @@ export async function clearEditor() {tiny.call(EditorWebView, tiny.reset(placeholderTip));//EditorWebView.current?.reload();await waitForEvent('resetcomplete');- if (!note) {- tiny.call(EditorWebView, tiny.setPlaceholder(placeholderTip));- }-editing.focusType = null;eSendEvent('historyEvent', {undo: 0,@@ -925,9 +921,6 @@ export async function onWebViewLoad(premium, colors) {}}, 300);setColors(colors);- if (!note) {- tiny.call(EditorWebView, tiny.setPlaceholder(placeholderTip));- }}async function restoreEditorState() {