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
undo some changes in custom tabs
ammarahm-ed332711727585
diff --git a/apps/mobile/html/Web.bundle/site/index.html b/apps/mobile/html/Web.bundle/site/index.htmlindex 9413d31e7..c5a0be58f 100644--- a/apps/mobile/html/Web.bundle/site/index.html+++ b/apps/mobile/html/Web.bundle/site/index.html@@ -1,5 +1,5 @@<!DOCTYPE html>-<html style="margin-left:1px;">+<html"><head><meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0">@@ -16,7 +16,7 @@<div class="tag-bar-parent hidden noselect"><div style="margin: 0px !important;margin-right:5px !important;" class="newtag"><p class="newtagp noselect"></p>- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"+ <svg class="addsvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"width="24" height="24" viewBox="0 0 24 24"><path d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg>@@ -64,9 +64,9 @@event.preventDefault();time = Date.now();}- _node.ontouchmove = function (event) {- event.preventDefault();- }+ // _node.ontouchmove = function (event) {+ // event.preventDefault();+ // }_node.ontouchend = function (event) {event.preventDefault();@@ -77,10 +77,19 @@}}-++ pressHandler('.tag-bar-parent', function () {++ })pressHandler('.newtag', function () {reactNativeEventHandler("newtag", "new");})+ pressHandler('.newtagp', function () {+ reactNativeEventHandler("newtag", "new");+ })+ pressHandler('.addsvg', function () {+ reactNativeEventHandler("newtag", "new");+ })function clearNode(selector) {let node = document.querySelector(selector);diff --git a/apps/mobile/src/navigation/RootView.js b/apps/mobile/src/navigation/RootView.jsindex 88492273f..5129b9f9b 100644--- a/apps/mobile/src/navigation/RootView.js+++ b/apps/mobile/src/navigation/RootView.js@@ -285,8 +285,8 @@ const NativeStack = React.memo(const widths = {mobile: {a: dimensions.width * 0.75,- b: dimensions.width - 1,- c: dimensions.width + 1+ b: dimensions.width,+ c: dimensions.width},smallTablet: {a: valueLimiter(dimensions.width * 0.3, 300, 350),@@ -354,11 +354,6 @@ const NativeStack = React.memo(style={{zIndex: 1}}- onDrawerStateChange={state => {- if (state === false) {- checkStatus();- }- }}initialIndex={deviceMode === 'smallTablet' || deviceMode === 'tablet' ? 0 : 1}diff --git a/apps/mobile/src/views/Editor/EditorWrapper.js b/apps/mobile/src/views/Editor/EditorWrapper.jsindex d24bcc11d..e7c016530 100644--- a/apps/mobile/src/views/Editor/EditorWrapper.js+++ b/apps/mobile/src/views/Editor/EditorWrapper.js@@ -1,4 +1,4 @@-import React, { useEffect } from 'react';+import React, {useEffect} from 'react';import {AppState,KeyboardAvoidingView,@@ -14,6 +14,7 @@ import {PremiumToast} from '../../components/Premium/premium-toast';import {useTracked} from '../../provider';import {useNoteStore, useSettingStore} from '../../provider/stores';import {DDS} from '../../services/DeviceDetection';+import {editing} from '../../utils';import {editorRef} from '../../utils/Refs';import useIsFloatingKeyboard from '../../utils/use-is-floating-keyboard';import EditorOverlay from './EditorOverlay';@@ -29,8 +30,9 @@ export const EditorWrapper = ({width, dimensions}) => {const onAppStateChanged = async state => {if (state === 'active') {- console.log('ACTIVE STATE');- await checkStatus(false);+ if (!editing.movedAway) {+ await checkStatus(false);+ }}};