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
clean up
ammarahm-edfa0bbb097a76
diff --git a/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js b/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.jsindex 0438edaab..170c99960 100644--- a/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js+++ b/apps/mobile/src/components/ActionSheetComponent/ActionSheetWrapper.js@@ -1,17 +1,17 @@import React from 'react';-import {Platform, View} from 'react-native';+import { Platform, View } from 'react-native';import ActionSheet from 'react-native-actions-sheet';-import {useSafeAreaInsets} from 'react-native-safe-area-context';-import {useTracked} from '../../provider';-import {useSettingStore} from '../../provider/stores';-import {editing} from '../../utils';-import {hexToRGBA} from '../../utils/ColorUtils';-import {sleep} from '../../utils/TimeUtils';-import {EditorWebView, textInput} from '../../views/Editor/Functions';+import { useSafeAreaInsets } from 'react-native-safe-area-context';+import { useTracked } from '../../provider';+import { useSettingStore } from '../../provider/stores';+import { editing } from '../../utils';+import { hexToRGBA } from '../../utils/ColorUtils';+import { sleep } from '../../utils/TimeUtils';+import { EditorWebView, textInput } from '../../views/Editor/Functions';import tiny from '../../views/Editor/tiny/tiny';-import {focusEditor} from '../../views/Editor/tiny/toolbar/constants';-import {Toast} from '../Toast';-import {GetPremium} from './GetPremium';+import { focusEditor } from '../../views/Editor/tiny/toolbar/constants';+import { Toast } from '../Toast';+import { GetPremium } from './GetPremium';const ActionSheetWrapper = ({children,@@ -21,7 +21,7 @@ const ActionSheetWrapper = ({onOpen,closeOnTouchBackdrop = true,onHasReachedTop,- keyboardMode,+ keyboardMode}) => {const [state] = useTracked();const {colors} = state;@@ -29,7 +29,6 @@ const ActionSheetWrapper = ({const largeTablet = deviceMode === 'tablet';const smallTablet = deviceMode === 'smallTablet';const dimensions = useSettingStore(state => state.dimensions);-const insets = useSafeAreaInsets();let width = dimensions.width > 600 ? 600 : 500;@@ -44,6 +43,8 @@ const ActionSheetWrapper = ({borderTopRightRadius: 10,borderTopLeftRadius: 10,alignSelf: 'center',+ borderBottomRight: 0,+ borderBottomLeft: 0};}, [colors.bg, gestureEnabled]);diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.jsindex bcc0a491f..fd7b4e8b1 100644--- a/apps/mobile/src/components/LoginDialog/index.js+++ b/apps/mobile/src/components/LoginDialog/index.js@@ -747,7 +747,7 @@ const LoginDialog = () => {style={{flexShrink: 1}}>- <Heading size={SIZE.md}>{status}Logging in</Heading>+ <Heading size={SIZE.md}>{status}</Heading><Paragraph style={{flexWrap: 'wrap'}} color={colors.icon}>{current.loading}{' '}{!current.showLoader ? null : (