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
fix toast is not shown
ammarahm-edf8c5ded48493
diff --git a/apps/mobile/html/Web.bundle/site/init.js b/apps/mobile/html/Web.bundle/site/init.jsindex 887db0867..26687f029 100755--- a/apps/mobile/html/Web.bundle/site/init.js+++ b/apps/mobile/html/Web.bundle/site/init.js@@ -544,7 +544,10 @@ const onChange = function (event) {reactNativeEventHandler('tiny', html);}).catch(function (e) {- reactNativeEventHandler('tinyerror', e.message);+ reactNativeEventHandler('tinyerror', {+ message: e?.message,+ stack: e?.stack+ });});onUndoChange();diff --git a/apps/mobile/src/components/toast/index.js b/apps/mobile/src/components/toast/index.jsindex 9526011cc..8b14fb34a 100644--- a/apps/mobile/src/components/toast/index.js+++ b/apps/mobile/src/components/toast/index.js@@ -95,6 +95,7 @@ export const Toast = ({ context = 'global' }) => {clearTimeout(hideTimeout.current);}let msg = toastMessages.length > 1 ? toastMessages.shift() : null;+if (msg) {timing(toastOpacity, {toValue: 0,@@ -116,9 +117,9 @@ export const Toast = ({ context = 'global' }) => {duration: 150,easing: Easing.inOut(Easing.ease)}).start(async () => {+ toastMessages.shift();await sleep(100);toastTranslate.setValue(-dHeight);- toastMessages.shift();setData({});if (hideTimeout.current) {clearTimeout(hideTimeout.current);