From 9116a24392ba9ec0fd534a453521b331b8a76b5d Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 16 Jan 2023 13:44:52 +0500 Subject: [PATCH] global: update license year to 2023 --- .eslintrc.js | 2 +- apps/mobile/app/app.js | 2 +- apps/mobile/app/assets/images/assets.js | 2 +- apps/mobile/app/common/analytics/index.js | 2 +- apps/mobile/app/common/database/encryption.js | 2 +- apps/mobile/app/common/database/index.js | 2 +- apps/mobile/app/common/database/mmkv.js | 2 +- apps/mobile/app/common/database/storage.js | 2 +- .../common/filesystem/download-attachment.js | 3 +- apps/mobile/app/common/filesystem/download.js | 2 +- apps/mobile/app/common/filesystem/index.js | 7 +- apps/mobile/app/common/filesystem/io.js | 2 +- apps/mobile/app/common/filesystem/upload.js | 2 +- apps/mobile/app/common/filesystem/utils.js | 2 +- apps/mobile/app/common/logger/index.ts | 2 +- .../components/announcements/announcement.js | 2 +- .../app/components/announcements/body.js | 2 +- .../app/components/announcements/cta.js | 7 +- .../components/announcements/description.js | 2 +- .../app/components/announcements/functions.js | 2 +- .../app/components/announcements/index.js | 2 +- .../app/components/announcements/list.js | 2 +- .../app/components/announcements/photo.js | 2 +- .../components/announcements/subheading.js | 2 +- .../app/components/announcements/title.js | 2 +- .../app/components/attachments/actions.js | 7 +- .../components/attachments/attachment-item.js | 2 +- .../app/components/attachments/index.js | 2 +- apps/mobile/app/components/auth/auth-modal.js | 2 +- apps/mobile/app/components/auth/background.js | 2 +- .../app/components/auth/change-password.js | 2 +- apps/mobile/app/components/auth/common.js | 2 +- .../app/components/auth/forgot-password.js | 2 +- apps/mobile/app/components/auth/index.js | 2 +- apps/mobile/app/components/auth/login.js | 2 +- .../app/components/auth/session-expired.js | 2 +- apps/mobile/app/components/auth/signup.js | 2 +- apps/mobile/app/components/auth/two-factor.js | 2 +- apps/mobile/app/components/auth/use-login.js | 2 +- .../components/container/container-header.js | 2 +- .../components/container/floating-button.js | 2 +- apps/mobile/app/components/container/index.js | 2 +- .../delay-layout/default-placeholder.tsx | 2 +- .../app/components/delay-layout/index.tsx | 2 +- .../delay-layout/settings-placeholder.tsx | 2 +- .../app/components/dialog-provider/index.js | 2 +- .../components/dialog-provider/recievers.js | 2 +- .../app/components/dialog/base-dialog.js | 2 +- .../app/components/dialog/dialog-buttons.js | 2 +- .../app/components/dialog/dialog-container.js | 2 +- .../app/components/dialog/dialog-header.tsx | 4 +- .../mobile/app/components/dialog/functions.ts | 2 +- apps/mobile/app/components/dialog/index.js | 2 +- .../app/components/dialogs/add-topic/index.js | 2 +- .../dialogs/jump-to-section/index.js | 2 +- .../app/components/dialogs/loading/index.tsx | 2 +- .../app/components/dialogs/result/index.js | 2 +- .../components/dialogs/result/pro-features.js | 2 +- .../app/components/dialogs/vault/index.js | 2 +- .../components/exception-handler/index.tsx | 2 +- .../app/components/globalsafearea/index.tsx | 2 +- apps/mobile/app/components/header/index.js | 2 +- .../app/components/header/left-menus.js | 2 +- .../app/components/header/right-menus.js | 2 +- apps/mobile/app/components/header/title.js | 2 +- .../app/components/image-preview/index.js | 2 +- apps/mobile/app/components/intro/index.js | 2 +- apps/mobile/app/components/intro/welcome.js | 2 +- apps/mobile/app/components/launcher/index.js | 4 +- .../app/components/list-items/footer/index.js | 2 +- .../components/list-items/headers/header.js | 2 +- .../list-items/headers/notebook-header.js | 2 +- .../list-items/headers/section-header.js | 2 +- .../app/components/list-items/note/index.js | 2 +- .../app/components/list-items/note/wrapper.js | 2 +- .../components/list-items/notebook/index.js | 3 +- .../components/list-items/notebook/wrapper.js | 2 +- .../components/list-items/reminder/index.tsx | 2 +- .../selection-wrapper/action-strip.js | 2 +- .../list-items/selection-wrapper/back-fill.js | 2 +- .../list-items/selection-wrapper/index.js | 4 +- .../list-items/selection-wrapper/selection.js | 2 +- .../app/components/list-items/tag/index.js | 2 +- apps/mobile/app/components/list/card.js | 2 +- apps/mobile/app/components/list/empty.js | 2 +- apps/mobile/app/components/list/index.js | 8 +- .../app/components/merge-conflicts/index.js | 2 +- .../app/components/note-history/index.js | 2 +- .../app/components/note-history/preview.js | 6 +- .../components/premium/compact-features.js | 2 +- .../app/components/premium/component.js | 4 +- .../mobile/app/components/premium/expiring.js | 2 +- apps/mobile/app/components/premium/feature.js | 2 +- .../mobile/app/components/premium/features.js | 2 +- apps/mobile/app/components/premium/group.js | 2 +- apps/mobile/app/components/premium/index.js | 2 +- apps/mobile/app/components/premium/offer.js | 2 +- .../app/components/premium/premium-toast.js | 2 +- .../app/components/premium/pricing-item.js | 2 +- .../app/components/premium/pricing-plans.js | 2 +- apps/mobile/app/components/premium/pro-tag.js | 2 +- .../app/components/properties/color-tags.js | 2 +- .../app/components/properties/date-meta.js | 2 +- .../app/components/properties/dev-mode.js | 2 +- .../mobile/app/components/properties/index.js | 2 +- .../mobile/app/components/properties/items.js | 2 +- .../app/components/properties/notebooks.js | 2 +- .../app/components/properties/synced.js | 2 +- apps/mobile/app/components/properties/tags.js | 2 +- .../app/components/properties/topics.js | 2 +- .../app/components/selection-header/index.js | 2 +- .../app/components/sheet-provider/index.js | 24 ++-- .../components/sheets/add-notebook/index.js | 2 +- .../app/components/sheets/add-to/index.js | 2 +- .../components/sheets/change-email/index.tsx | 2 +- .../components/sheets/export-notes/index.js | 2 +- .../components/sheets/export-notes/share.js | 2 +- .../app/components/sheets/github/issue.js | 2 +- .../components/sheets/manage-tags/index.js | 2 +- .../app/components/sheets/migrate/index.tsx | 2 +- .../components/sheets/move-notes/movenote.tsx | 2 +- .../components/sheets/new-feature/index.tsx | 2 +- .../app/components/sheets/progress/index.tsx | 2 +- .../components/sheets/publish-note/index.js | 11 +- .../app/components/sheets/rate-app/index.js | 2 +- .../components/sheets/recovery-key/index.js | 2 +- .../sheets/relations-list/index.tsx | 2 +- .../sheets/reminder-notify/index.tsx | 2 +- .../app/components/sheets/reminder/index.tsx | 2 +- .../components/sheets/restore-data/index.js | 2 +- .../app/components/sheets/sort/index.js | 8 +- .../app/components/sheets/update/index.js | 2 +- .../app/components/side-menu/color-section.js | 2 +- apps/mobile/app/components/side-menu/index.js | 2 +- .../app/components/side-menu/menu-item.js | 2 +- .../components/side-menu/pinned-section.js | 2 +- .../app/components/side-menu/user-status.js | 2 +- apps/mobile/app/components/tabs/index.tsx | 2 +- apps/mobile/app/components/tip/index.tsx | 2 +- apps/mobile/app/components/toast/index.js | 2 +- .../components/ui/animated-button/index.tsx | 2 +- .../mobile/app/components/ui/button/index.tsx | 2 +- .../app/components/ui/icon-button/index.tsx | 2 +- apps/mobile/app/components/ui/input/index.tsx | 4 +- .../mobile/app/components/ui/notice/index.tsx | 2 +- .../app/components/ui/pressable/index.tsx | 4 +- .../app/components/ui/reminder-time/index.tsx | 2 +- .../app/components/ui/seperator/index.tsx | 2 +- apps/mobile/app/components/ui/sheet/index.js | 2 +- apps/mobile/app/components/ui/svg/index.tsx | 2 +- apps/mobile/app/components/ui/svg/lazy.js | 2 +- .../app/components/ui/svg/module-svg.js | 2 +- apps/mobile/app/components/ui/tag/index.tsx | 2 +- .../app/components/ui/time-since/index.tsx | 4 +- .../ui/transitions/bouncing-view.js | 2 +- .../app/components/ui/typography/heading.tsx | 2 +- .../components/ui/typography/paragraph.tsx | 2 +- .../app/components/walkthroughs/index.tsx | 2 +- .../components/walkthroughs/walkthroughs.tsx | 2 +- apps/mobile/app/features.ts | 2 +- apps/mobile/app/hooks/use-actions.js | 4 +- apps/mobile/app/hooks/use-app-events.js | 2 +- apps/mobile/app/hooks/use-app-state.ts | 2 +- .../app/hooks/use-attachment-progress.js | 2 +- apps/mobile/app/hooks/use-delay-layout.ts | 2 +- apps/mobile/app/hooks/use-editor-tags.ts | 2 +- .../app/hooks/use-global-safe-area-insets.ts | 2 +- apps/mobile/app/hooks/use-immediate.ts | 2 +- .../app/hooks/use-is-floating-keyboard.ts | 2 +- apps/mobile/app/hooks/use-keyboard.ts | 2 +- apps/mobile/app/hooks/use-navigation-focus.ts | 2 +- apps/mobile/app/hooks/use-pricing.ts | 2 +- apps/mobile/app/hooks/use-rotator.ts | 2 +- apps/mobile/app/hooks/use-shortcut-manager.ts | 2 +- apps/mobile/app/hooks/use-sync-progress.ts | 2 +- apps/mobile/app/hooks/use-timer.ts | 2 +- apps/mobile/app/hooks/use-tooltip.ts | 2 +- apps/mobile/app/hooks/use-vault-status.js | 2 +- apps/mobile/app/hooks/use-vault-status.ts | 2 +- apps/mobile/app/navigation/index.js | 2 +- .../mobile/app/navigation/navigation-stack.js | 2 +- apps/mobile/app/navigation/tabs-holder.js | 2 +- apps/mobile/app/screens/editor/index.tsx | 2 +- apps/mobile/app/screens/editor/loading.js | 2 +- apps/mobile/app/screens/editor/progress.js | 2 +- apps/mobile/app/screens/editor/source.ts | 2 +- .../app/screens/editor/tiptap/commands.ts | 2 +- .../screens/editor/tiptap/editor-events.ts | 2 +- .../app/screens/editor/tiptap/picker.js | 2 +- .../mobile/app/screens/editor/tiptap/types.ts | 2 +- .../editor/tiptap/use-editor-events.ts | 6 +- .../app/screens/editor/tiptap/use-editor.ts | 2 +- .../mobile/app/screens/editor/tiptap/utils.ts | 2 +- apps/mobile/app/screens/editor/wrapper.js | 2 +- apps/mobile/app/screens/favorites/index.tsx | 2 +- apps/mobile/app/screens/home/index.tsx | 2 +- apps/mobile/app/screens/notebook/index.tsx | 2 +- apps/mobile/app/screens/notebooks/index.tsx | 2 +- apps/mobile/app/screens/notes/colored.tsx | 2 +- apps/mobile/app/screens/notes/common.ts | 2 +- apps/mobile/app/screens/notes/index.tsx | 2 +- apps/mobile/app/screens/notes/monographs.tsx | 2 +- apps/mobile/app/screens/notes/tagged.tsx | 2 +- apps/mobile/app/screens/notes/topic-notes.tsx | 2 +- apps/mobile/app/screens/reminders/index.tsx | 4 +- apps/mobile/app/screens/search/index.js | 2 +- apps/mobile/app/screens/search/search-bar.js | 2 +- apps/mobile/app/screens/settings/2fa.tsx | 2 +- apps/mobile/app/screens/settings/app-lock.js | 2 +- .../mobile/app/screens/settings/appearance.js | 2 +- .../app/screens/settings/backup-restore.js | 2 +- .../app/screens/settings/components.tsx | 2 +- apps/mobile/app/screens/settings/debug.tsx | 2 +- .../app/screens/settings/editor/common.tsx | 2 +- .../settings/editor/configure-toolbar.tsx | 2 +- .../app/screens/settings/editor/group.tsx | 2 +- .../app/screens/settings/editor/state.ts | 4 +- .../screens/settings/editor/tool-sheet.tsx | 2 +- .../app/screens/settings/editor/tool.tsx | 2 +- .../settings/editor/toolbar-definition.ts | 2 +- apps/mobile/app/screens/settings/functions.js | 2 +- apps/mobile/app/screens/settings/group.tsx | 2 +- apps/mobile/app/screens/settings/home.tsx | 2 +- apps/mobile/app/screens/settings/index.tsx | 2 +- .../app/screens/settings/section-group.tsx | 2 +- .../app/screens/settings/section-item.tsx | 2 +- .../app/screens/settings/settings-data.tsx | 2 +- .../app/screens/settings/sound-picker.tsx | 2 +- .../app/screens/settings/subscription.js | 2 +- apps/mobile/app/screens/settings/types.ts | 2 +- .../app/screens/settings/user-section.js | 2 +- apps/mobile/app/screens/tags/index.tsx | 2 +- apps/mobile/app/screens/trash/index.tsx | 2 +- apps/mobile/app/services/backup.js | 5 +- apps/mobile/app/services/biometrics.ts | 2 +- apps/mobile/app/services/device-detection.js | 2 +- apps/mobile/app/services/event-manager.ts | 2 +- apps/mobile/app/services/exporter.js | 2 +- apps/mobile/app/services/message.js | 2 +- apps/mobile/app/services/navigation.ts | 2 +- apps/mobile/app/services/notifications.ts | 2 +- apps/mobile/app/services/premium.js | 3 +- apps/mobile/app/services/search.js | 2 +- apps/mobile/app/services/settings.ts | 2 +- apps/mobile/app/services/sync.js | 2 +- apps/mobile/app/services/tip-manager.ts | 2 +- apps/mobile/app/services/validation.js | 2 +- apps/mobile/app/stores/index.ts | 2 +- .../mobile/app/stores/use-attachment-store.ts | 2 +- apps/mobile/app/stores/use-editor-store.ts | 2 +- apps/mobile/app/stores/use-favorite-store.ts | 2 +- apps/mobile/app/stores/use-menu-store.ts | 2 +- apps/mobile/app/stores/use-message-store.ts | 2 +- .../mobile/app/stores/use-navigation-store.ts | 4 +- apps/mobile/app/stores/use-notebook-store.ts | 2 +- apps/mobile/app/stores/use-notes-store.ts | 2 +- apps/mobile/app/stores/use-relation-store.ts | 2 +- apps/mobile/app/stores/use-reminder-store.ts | 2 +- apps/mobile/app/stores/use-search-store.ts | 2 +- apps/mobile/app/stores/use-selection-store.ts | 2 +- apps/mobile/app/stores/use-setting-store.ts | 4 +- apps/mobile/app/stores/use-tag-store.ts | 2 +- apps/mobile/app/stores/use-theme-store.ts | 2 +- apps/mobile/app/stores/use-trash-store.ts | 2 +- apps/mobile/app/stores/use-user-store.ts | 2 +- apps/mobile/app/utils/color-scheme/index.js | 2 +- apps/mobile/app/utils/color-scheme/utils.js | 2 +- apps/mobile/app/utils/constants.js | 4 +- apps/mobile/app/utils/events.js | 2 +- apps/mobile/app/utils/functions.js | 2 +- apps/mobile/app/utils/github-version.ts | 2 +- apps/mobile/app/utils/global-refs.ts | 2 +- apps/mobile/app/utils/index.js | 2 +- apps/mobile/app/utils/layout-manager.js | 2 +- apps/mobile/app/utils/sanitizer/index.js | 2 +- apps/mobile/app/utils/size/index.js | 2 +- apps/mobile/app/utils/sse/even-source-ios.js | 2 +- apps/mobile/app/utils/sse/event-source.js | 2 +- apps/mobile/app/utils/time/index.ts | 2 +- apps/mobile/app/utils/types.ts | 2 +- apps/mobile/e2e/environment.js | 2 +- apps/mobile/e2e/setup.ts | 2 +- apps/mobile/e2e/test.ids.js | 2 +- apps/mobile/e2e/tests/auth.e2e.js | 2 +- apps/mobile/e2e/tests/index.e2e.js | 2 +- apps/mobile/e2e/tests/note.e2e.js | 2 +- apps/mobile/e2e/tests/notebook.e2e.js | 6 +- apps/mobile/e2e/tests/search.e2e.js | 2 +- apps/mobile/e2e/tests/sort.e2e.js | 2 +- apps/mobile/e2e/tests/tag.e2e.js | 2 +- apps/mobile/e2e/tests/utils.js | 2 +- apps/mobile/e2e/tests/vault.e2e.js | 2 +- apps/mobile/share/editor.js | 2 +- apps/mobile/share/index.js | 2 +- apps/mobile/share/quick-note.js | 2 +- apps/mobile/share/search.js | 2 +- apps/mobile/share/share.js | 109 +++++++++--------- apps/mobile/share/store.js | 2 +- apps/web/__e2e__/backups.test.ts | 2 +- apps/web/__e2e__/checkout.test.ts | 2 +- apps/web/__e2e__/colors.test.ts | 2 +- apps/web/__e2e__/editor.test.ts | 2 +- apps/web/__e2e__/importer.test.js | 2 +- .../__e2e__/keyboard-list-navigation.test.ts | 2 +- apps/web/__e2e__/models/app.model.ts | 2 +- apps/web/__e2e__/models/auth.model.ts | 2 +- apps/web/__e2e__/models/base-item.model.ts | 2 +- apps/web/__e2e__/models/base-view.model.ts | 2 +- apps/web/__e2e__/models/checkout.model.ts | 2 +- apps/web/__e2e__/models/context-menu.model.ts | 2 +- apps/web/__e2e__/models/editor.model.ts | 2 +- apps/web/__e2e__/models/item.model.ts | 2 +- apps/web/__e2e__/models/items-view.model.ts | 2 +- .../__e2e__/models/navigation-menu.model.ts | 2 +- apps/web/__e2e__/models/note-item.model.ts | 2 +- .../__e2e__/models/note-properties.model.ts | 2 +- .../web/__e2e__/models/notebook-item.model.ts | 2 +- .../__e2e__/models/notebooks-view.model.ts | 2 +- apps/web/__e2e__/models/notes-view.model.ts | 2 +- .../web/__e2e__/models/reminder-item.model.ts | 2 +- .../__e2e__/models/reminders-view.model.ts | 2 +- apps/web/__e2e__/models/search-view-model.ts | 2 +- .../web/__e2e__/models/settings-view.model.ts | 2 +- apps/web/__e2e__/models/toasts.model.ts | 2 +- apps/web/__e2e__/models/toggle.model.ts | 2 +- apps/web/__e2e__/models/trash-item.model.ts | 2 +- apps/web/__e2e__/models/trash-view.model.ts | 2 +- apps/web/__e2e__/models/types.ts | 2 +- apps/web/__e2e__/models/utils.ts | 2 +- apps/web/__e2e__/navigation.test.ts | 2 +- apps/web/__e2e__/notebooks.issues.test.ts | 2 +- apps/web/__e2e__/notebooks.test.ts | 2 +- apps/web/__e2e__/notehistory.test.ts | 2 +- apps/web/__e2e__/notes.issues.test.ts | 2 +- apps/web/__e2e__/notes.test.ts | 2 +- apps/web/__e2e__/reminders.test.ts | 2 +- apps/web/__e2e__/sync.test.ts | 2 +- apps/web/__e2e__/tags.test.ts | 2 +- apps/web/__e2e__/topics.test.ts | 2 +- apps/web/__e2e__/user.test.ts | 2 +- apps/web/__e2e__/utils/index.ts | 2 +- apps/web/desktop/autoupdate.js | 2 +- apps/web/desktop/config/privacyMode.js | 2 +- apps/web/desktop/config/theme.js | 2 +- apps/web/desktop/config/windowstate.js | 2 +- apps/web/desktop/config/zoomfactor.js | 2 +- apps/web/desktop/electron.js | 2 +- apps/web/desktop/events.js | 2 +- .../web/desktop/ipc/actions/changeAppTheme.js | 2 +- .../web/desktop/ipc/actions/checkForUpdate.js | 2 +- .../web/desktop/ipc/actions/downloadUpdate.js | 2 +- apps/web/desktop/ipc/actions/index.js | 2 +- apps/web/desktop/ipc/actions/installUpdate.js | 2 +- apps/web/desktop/ipc/actions/open.js | 2 +- apps/web/desktop/ipc/actions/saveFile.js | 2 +- .../web/desktop/ipc/actions/setPrivacyMode.js | 2 +- apps/web/desktop/ipc/actions/setZoomFactor.js | 2 +- apps/web/desktop/ipc/calls/getPrivacyMode.js | 2 +- apps/web/desktop/ipc/calls/getZoomFactor.js | 2 +- apps/web/desktop/ipc/calls/gzip.js | 2 +- apps/web/desktop/ipc/calls/index.js | 2 +- apps/web/desktop/ipc/calls/selectDirectory.js | 2 +- apps/web/desktop/ipc/index.js | 2 +- apps/web/desktop/ipc/utils.js | 2 +- apps/web/desktop/jsonstorage/index.js | 2 +- apps/web/desktop/logger.js | 2 +- apps/web/desktop/menu.js | 2 +- apps/web/desktop/package.json | 4 +- apps/web/desktop/paths.js | 2 +- apps/web/desktop/preload.js | 2 +- apps/web/desktop/protocol.js | 2 +- apps/web/desktop/scripts/removeLocales.js | 2 +- apps/web/desktop/utils.js | 2 +- apps/web/package.json | 2 +- apps/web/playwright.config.ts | 2 +- apps/web/scripts/analyze.js | 2 +- apps/web/src/app-effects.js | 2 +- apps/web/src/app-effects.mobile.js | 2 +- apps/web/src/app.js | 2 +- apps/web/src/commands/change-app-theme.js | 2 +- apps/web/src/commands/check-for-update.js | 2 +- apps/web/src/commands/download-update.js | 2 +- apps/web/src/commands/index.js | 2 +- apps/web/src/commands/install-update.js | 2 +- apps/web/src/commands/open.js | 2 +- apps/web/src/commands/save-file.js | 2 +- apps/web/src/commands/set-privacy-mode.js | 2 +- apps/web/src/commands/set-zoom-factor.js | 2 +- apps/web/src/common/app-events.js | 2 +- apps/web/src/common/attachments.js | 2 +- apps/web/src/common/constants.ts | 2 +- apps/web/src/common/db.js | 2 +- apps/web/src/common/dialog-controller.tsx | 2 +- apps/web/src/common/export.ts | 2 +- apps/web/src/common/height-calculator.js | 2 +- apps/web/src/common/index.js | 2 +- apps/web/src/common/key-map.js | 2 +- apps/web/src/common/multi-select.ts | 2 +- apps/web/src/common/reminders.js | 2 +- apps/web/src/common/store.js | 2 +- apps/web/src/common/task-manager.ts | 2 +- apps/web/src/common/toasts.js | 2 +- apps/web/src/common/toolbar-config.ts | 2 +- apps/web/src/common/vault.js | 2 +- apps/web/src/components/accent-item/index.js | 2 +- apps/web/src/components/accordion/index.tsx | 2 +- apps/web/src/components/animated/index.js | 2 +- apps/web/src/components/announcements/body.js | 2 +- .../web/src/components/announcements/index.js | 2 +- apps/web/src/components/attachment/index.js | 2 +- .../src/components/auth-container/index.js | 2 +- .../web/src/components/cached-router/index.js | 2 +- .../components/dialogs/add-notebook-dialog.js | 2 +- .../dialogs/add-reminder-dialog.tsx | 2 +- .../components/dialogs/announcement-dialog.js | 2 +- .../components/dialogs/attachments-dialog.js | 2 +- .../dialogs/buy-dialog/buy-dialog.tsx | 2 +- .../dialogs/buy-dialog/features.tsx | 2 +- .../components/dialogs/buy-dialog/helpers.ts | 2 +- .../components/dialogs/buy-dialog/index.ts | 2 +- .../components/dialogs/buy-dialog/paddle.tsx | 2 +- .../dialogs/buy-dialog/plan-list.tsx | 2 +- .../components/dialogs/buy-dialog/plans.ts | 2 +- .../components/dialogs/buy-dialog/store.ts | 2 +- .../components/dialogs/buy-dialog/types.ts | 2 +- apps/web/src/components/dialogs/confirm.js | 2 +- .../src/components/dialogs/dialog-loader.tsx | 2 +- apps/web/src/components/dialogs/dialog.js | 2 +- .../dialogs/email-change-dialog.tsx | 2 +- .../dialogs/email-verification-dialog.js | 2 +- .../src/components/dialogs/feature-dialog.tsx | 2 +- .../src/components/dialogs/import-dialog.tsx | 2 +- apps/web/src/components/dialogs/index.ts | 2 +- .../src/components/dialogs/issue-dialog.tsx | 2 +- .../web/src/components/dialogs/item-dialog.js | 2 +- .../src/components/dialogs/loading-dialog.tsx | 2 +- .../dialogs/mfa/multi-factor-dialog.tsx | 2 +- .../dialogs/mfa/recovery-code-dialog.tsx | 2 +- apps/web/src/components/dialogs/mfa/steps.tsx | 2 +- apps/web/src/components/dialogs/mfa/types.ts | 2 +- .../components/dialogs/migration-dialog.tsx | 2 +- .../components/dialogs/move-note-dialog.tsx | 2 +- .../components/dialogs/onboarding-dialog.js | 2 +- .../src/components/dialogs/password-dialog.js | 2 +- .../src/components/dialogs/progress-dialog.js | 2 +- apps/web/src/components/dialogs/prompt.tsx | 2 +- .../components/dialogs/recovery-key-dialog.js | 2 +- .../src/components/dialogs/reminder-dialog.js | 2 +- .../dialogs/reminder-preview-dialog.tsx | 2 +- .../dialogs/toolbar-config-dialog.tsx | 2 +- .../dialogs/tracking-details-dialog.js | 2 +- .../components/diff-viewer/content-toggle.js | 2 +- apps/web/src/components/diff-viewer/index.js | 2 +- .../src/components/dropdown-button/index.js | 2 +- .../web/src/components/editor/-placeholder.js | 2 +- apps/web/src/components/editor/context.ts | 2 +- apps/web/src/components/editor/footer.tsx | 2 +- apps/web/src/components/editor/header.js | 2 +- apps/web/src/components/editor/index.tsx | 2 +- apps/web/src/components/editor/loading.tsx | 2 +- apps/web/src/components/editor/picker.ts | 2 +- apps/web/src/components/editor/tiptap.tsx | 2 +- apps/web/src/components/editor/title-box.tsx | 2 +- apps/web/src/components/editor/toolbar.js | 2 +- apps/web/src/components/editor/types.ts | 2 +- apps/web/src/components/field/index.js | 2 +- .../components/global-menu-wrapper/index.js | 2 +- apps/web/src/components/group-header/index.js | 2 +- apps/web/src/components/hash-router/index.js | 2 +- apps/web/src/components/icon-tag/index.tsx | 2 +- apps/web/src/components/icons/index.tsx | 2 +- apps/web/src/components/icons/resolver.ts | 2 +- .../src/components/install-notice/index.js | 2 +- .../src/components/list-container/index.tsx | 2 +- .../list-container/list-profiles.tsx | 2 +- apps/web/src/components/list-item/index.js | 2 +- apps/web/src/components/loader/index.js | 2 +- .../src/components/loaders/editor-loader.tsx | 2 +- .../src/components/loaders/list-loader.tsx | 2 +- .../src/components/loaders/view-loader.tsx | 2 +- apps/web/src/components/menu/index.js | 2 +- apps/web/src/components/menu/menu-item.js | 2 +- .../src/components/navigation-menu/index.tsx | 2 +- .../navigation-menu/navigation-item.tsx | 2 +- apps/web/src/components/note/index.js | 2 +- apps/web/src/components/notebook/index.js | 2 +- .../placeholders/attachments-placeholder.js | 2 +- .../placeholders/favorites-placeholder.js | 2 +- apps/web/src/components/placeholders/index.js | 2 +- .../web/src/components/placeholders/loader.js | 2 +- .../placeholders/monographs-placeholder.js | 2 +- .../placeholders/notebooks-placeholder.js | 2 +- .../placeholders/notesplacholder.js | 2 +- .../placeholders/reminders-placeholder.js | 2 +- .../placeholders/search-placeholder.js | 2 +- .../placeholders/tags-placeholder.js | 2 +- .../placeholders/topics-placeholder.js | 2 +- .../placeholders/trash-placeholder.js | 2 +- apps/web/src/components/progress-bar/index.js | 2 +- apps/web/src/components/properties/index.js | 2 +- apps/web/src/components/properties/toggle.js | 2 +- apps/web/src/components/publish-view/index.js | 2 +- apps/web/src/components/reminder-bar/index.js | 2 +- apps/web/src/components/reminder/index.tsx | 2 +- .../src/components/route-container/index.js | 2 +- .../src/components/scroll-container/index.tsx | 2 +- apps/web/src/components/search/index.js | 2 +- apps/web/src/components/status-bar/index.js | 2 +- apps/web/src/components/switch/index.js | 2 +- apps/web/src/components/tag/index.js | 2 +- .../src/components/theme-provider/index.js | 2 +- apps/web/src/components/time-ago/index.js | 2 +- apps/web/src/components/tip/index.js | 2 +- apps/web/src/components/toggle/index.js | 2 +- apps/web/src/components/topic/index.js | 2 +- apps/web/src/components/trash-item/index.js | 2 +- apps/web/src/components/unlock/index.js | 2 +- apps/web/src/global.d.ts | 2 +- apps/web/src/hooks/use-announcements.js | 2 +- apps/web/src/hooks/use-auto-updater.js | 2 +- apps/web/src/hooks/use-database.js | 2 +- apps/web/src/hooks/use-hash-location.ts | 2 +- apps/web/src/hooks/use-hash-routes.js | 2 +- apps/web/src/hooks/use-is-user-premium.js | 2 +- .../src/hooks/use-keyboard-list-navigation.ts | 2 +- apps/web/src/hooks/use-location.ts | 2 +- apps/web/src/hooks/use-media-query.js | 2 +- apps/web/src/hooks/use-menu.js | 2 +- apps/web/src/hooks/use-mobile.js | 2 +- apps/web/src/hooks/use-navigate.js | 2 +- apps/web/src/hooks/use-persistent-state.ts | 2 +- apps/web/src/hooks/use-privacy-mode.js | 2 +- apps/web/src/hooks/use-routes.js | 2 +- apps/web/src/hooks/use-session-state.ts | 2 +- apps/web/src/hooks/use-slider.js | 2 +- apps/web/src/hooks/use-status.ts | 2 +- apps/web/src/hooks/use-system-theme.js | 2 +- apps/web/src/hooks/use-tablet.js | 2 +- apps/web/src/hooks/use-timer.ts | 2 +- apps/web/src/hooks/use-zoom-factor.js | 2 +- apps/web/src/index.tsx | 2 +- apps/web/src/interfaces/fs.js | 2 +- apps/web/src/interfaces/nncrypto.stub.ts | 2 +- apps/web/src/interfaces/storage.ts | 2 +- apps/web/src/navigation/hash-routes.js | 2 +- apps/web/src/navigation/index.js | 2 +- apps/web/src/navigation/routes.js | 2 +- apps/web/src/re-exports/react-qrcode-logo.js | 2 +- apps/web/src/react-app-env.d.ts | 2 +- apps/web/src/service-worker-registration.js | 2 +- apps/web/src/service-worker.js | 2 +- apps/web/src/stores/app-store.js | 2 +- apps/web/src/stores/attachment-store.js | 2 +- apps/web/src/stores/editor-store.js | 2 +- apps/web/src/stores/index.js | 2 +- apps/web/src/stores/monograph-store.js | 2 +- apps/web/src/stores/note-store.js | 2 +- apps/web/src/stores/notebook-store.js | 2 +- apps/web/src/stores/reminder-store.js | 2 +- apps/web/src/stores/search-store.js | 2 +- apps/web/src/stores/selection-store.js | 2 +- apps/web/src/stores/setting-store.js | 2 +- apps/web/src/stores/tag-store.js | 2 +- apps/web/src/stores/theme-store.js | 2 +- apps/web/src/stores/trash-store.js | 2 +- apps/web/src/stores/user-store.js | 2 +- apps/web/src/utils/analytics.ts | 2 +- apps/web/src/utils/changelog.ts | 2 +- apps/web/src/utils/color.js | 2 +- apps/web/src/utils/compressor.ts | 2 +- apps/web/src/utils/compressor.worker.ts | 2 +- apps/web/src/utils/config.ts | 2 +- apps/web/src/utils/css.js | 2 +- apps/web/src/utils/debounce.ts | 2 +- apps/web/src/utils/dimensions.js | 2 +- apps/web/src/utils/filename.js | 2 +- apps/web/src/utils/html.ts | 2 +- apps/web/src/utils/importer.ts | 2 +- apps/web/src/utils/keyboard.js | 2 +- apps/web/src/utils/logger.ts | 2 +- apps/web/src/utils/object.js | 2 +- apps/web/src/utils/page-visibility.js | 2 +- apps/web/src/utils/parse.js | 2 +- apps/web/src/utils/platform.js | 2 +- apps/web/src/utils/random.js | 2 +- apps/web/src/utils/string.ts | 2 +- apps/web/src/utils/task-scheduler.ts | 2 +- apps/web/src/utils/task-scheduler.worker.ts | 2 +- apps/web/src/utils/toast.tsx | 2 +- apps/web/src/utils/version.ts | 2 +- apps/web/src/utils/web-extension-relay.ts | 2 +- apps/web/src/utils/zip-reader.ts | 2 +- apps/web/src/utils/zip.ts | 2 +- apps/web/src/views/auth.tsx | 2 +- apps/web/src/views/email-confirmed.js | 2 +- apps/web/src/views/home.js | 2 +- apps/web/src/views/notebooks.js | 2 +- apps/web/src/views/notes.js | 2 +- apps/web/src/views/recovery.tsx | 2 +- apps/web/src/views/reminders.tsx | 2 +- apps/web/src/views/search.js | 2 +- apps/web/src/views/settings.js | 2 +- apps/web/src/views/tags.js | 2 +- apps/web/src/views/topics.js | 2 +- apps/web/src/views/trash.js | 2 +- extensions/web-clipper/build-utils/build.js | 2 +- extensions/web-clipper/build-utils/dev.js | 12 +- extensions/web-clipper/build-utils/env.js | 4 +- .../web-clipper/build-utils/manifest.js | 2 +- extensions/web-clipper/global.d.ts | 2 +- extensions/web-clipper/package.json | 2 +- extensions/web-clipper/src/api.ts | 2 +- extensions/web-clipper/src/app.tsx | 2 +- extensions/web-clipper/src/background.ts | 2 +- extensions/web-clipper/src/common/bridge.ts | 2 +- .../web-clipper/src/common/constants.ts | 2 +- .../src/components/filtered-list/index.tsx | 2 +- .../web-clipper/src/components/icons/icon.tsx | 2 +- .../web-clipper/src/components/icons/index.ts | 2 +- .../src/components/note-picker/index.tsx | 2 +- .../src/components/notebook-picker/index.tsx | 2 +- .../src/components/picker/index.tsx | 2 +- .../src/components/scroll-container/index.tsx | 2 +- .../src/components/tag-picker/index.tsx | 2 +- .../src/components/theme-provider/index.tsx | 2 +- .../web-clipper/src/content-scripts/all.ts | 2 +- .../web-clipper/src/content-scripts/nn.ts | 2 +- .../src/hooks/use-persistent-state.ts | 2 +- extensions/web-clipper/src/index.tsx | 2 +- .../web-clipper/src/stores/app-store.tsx | 2 +- extensions/web-clipper/src/utils/config.ts | 2 +- extensions/web-clipper/src/utils/storage.ts | 2 +- extensions/web-clipper/src/views/login.tsx | 2 +- extensions/web-clipper/src/views/main.tsx | 2 +- extensions/web-clipper/src/views/settings.tsx | 2 +- extensions/web-clipper/webpack.config.js | 2 +- packages/clipper/__tests__/example.spec.ts | 2 +- packages/clipper/playwright.config.ts | 2 +- packages/clipper/src/clone.ts | 2 +- packages/clipper/src/css-tokenizer.ts | 2 +- packages/clipper/src/domtoimage.ts | 2 +- packages/clipper/src/fetch.ts | 2 +- packages/clipper/src/fontfaces.ts | 2 +- packages/clipper/src/images.ts | 2 +- packages/clipper/src/index.ts | 2 +- packages/clipper/src/inliner.ts | 2 +- packages/clipper/src/styles.ts | 2 +- packages/clipper/src/types.ts | 2 +- packages/clipper/src/utils.ts | 2 +- packages/core/__e2e__/monographs.test.js | 2 +- packages/core/__e2e__/offers.test.js | 2 +- packages/core/__e2e__/pricing.test.js | 2 +- packages/core/__e2e__/token-manager.test.js | 2 +- packages/core/__e2e__/user-manager.test.js | 2 +- packages/core/__e2e__/utils.js | 2 +- packages/core/__mocks__/compressor.mock.js | 2 +- packages/core/__mocks__/fs.mock.js | 2 +- packages/core/__mocks__/node-storage.mock.js | 2 +- packages/core/__mocks__/storage.mock.js | 2 +- packages/core/__tests__/backup.test.js | 2 +- packages/core/__tests__/content.test.js | 2 +- packages/core/__tests__/db.test.js | 2 +- packages/core/__tests__/lookup.test.js | 2 +- packages/core/__tests__/note-history.test.js | 2 +- packages/core/__tests__/notebooks.test.js | 2 +- packages/core/__tests__/notes.test.js | 2 +- packages/core/__tests__/reminders.test.js | 2 +- packages/core/__tests__/settings.test.js | 2 +- packages/core/__tests__/shortcuts.test.js | 2 +- packages/core/__tests__/storage.test.js | 2 +- packages/core/__tests__/tags.test.js | 2 +- packages/core/__tests__/topics.test.js | 2 +- packages/core/__tests__/trash.test.js | 2 +- packages/core/__tests__/utils.test.js | 2 +- packages/core/__tests__/utils/index.js | 2 +- packages/core/__tests__/vault.test.js | 2 +- packages/core/analyze-modules.js | 2 +- packages/core/api/__tests__/debug.test.js | 2 +- .../core/api/__tests__/mfa-manager.test.js | 2 +- .../core/api/__tests__/migrations.test.js | 2 +- packages/core/api/__tests__/outbox.test.js | 2 +- packages/core/api/debug.js | 2 +- packages/core/api/index.js | 2 +- packages/core/api/lookup.js | 2 +- packages/core/api/mfa-manager.js | 2 +- packages/core/api/migrations.js | 2 +- packages/core/api/monographs.js | 2 +- packages/core/api/offers.js | 2 +- packages/core/api/outbox.js | 2 +- packages/core/api/pricing.js | 2 +- packages/core/api/session.js | 2 +- packages/core/api/settings.js | 2 +- .../core/api/sync/__tests__/collector.test.js | 2 +- .../core/api/sync/__tests__/sync.test.skip.js | 2 +- packages/core/api/sync/auto-sync.js | 2 +- packages/core/api/sync/collector.js | 2 +- packages/core/api/sync/conflicts.js | 2 +- packages/core/api/sync/index.js | 2 +- packages/core/api/sync/merger.js | 2 +- packages/core/api/sync/sync-queue.js | 2 +- packages/core/api/sync/utils.js | 2 +- packages/core/api/token-manager.js | 2 +- packages/core/api/user-manager.js | 2 +- packages/core/api/vault.js | 2 +- packages/core/babel.config.js | 2 +- packages/core/collections/attachments.js | 2 +- packages/core/collections/collection.js | 2 +- packages/core/collections/content.js | 2 +- packages/core/collections/note-history.js | 2 +- packages/core/collections/notebooks.js | 2 +- packages/core/collections/notes.js | 2 +- packages/core/collections/relations.js | 2 +- packages/core/collections/reminders.js | 2 +- packages/core/collections/session-content.js | 2 +- packages/core/collections/shortcuts.js | 2 +- packages/core/collections/tags.js | 2 +- packages/core/collections/topics.js | 2 +- packages/core/collections/trash.js | 2 +- packages/core/common.js | 2 +- .../content-types/__tests__/tiptap.test.js | 2 +- packages/core/content-types/index.js | 2 +- packages/core/content-types/tiptap.js | 2 +- packages/core/database/backup.js | 2 +- packages/core/database/cached-collection.js | 2 +- packages/core/database/fs.js | 2 +- packages/core/database/indexed-collection.js | 2 +- packages/core/database/indexer.js | 2 +- packages/core/database/migrator.js | 2 +- packages/core/database/storage.js | 2 +- packages/core/jest.config.js | 2 +- packages/core/jest.setup.js | 2 +- packages/core/logger.js | 7 +- packages/core/migrations.js | 2 +- packages/core/models/note.js | 4 +- packages/core/models/notebook.js | 2 +- packages/core/models/topic.js | 2 +- packages/core/types.js | 2 +- .../core/utils/__tests__/html-diff.test.js | 2 +- packages/core/utils/__tests__/set.test.js | 2 +- packages/core/utils/array.js | 2 +- packages/core/utils/constants.js | 2 +- packages/core/utils/dataurl.js | 2 +- packages/core/utils/date.js | 2 +- packages/core/utils/event-manager.js | 2 +- packages/core/utils/grouping.js | 2 +- packages/core/utils/hostname.js | 2 +- packages/core/utils/html-diff.js | 2 +- packages/core/utils/html-parser.js | 2 +- packages/core/utils/html-rewriter.js | 2 +- packages/core/utils/http.js | 2 +- packages/core/utils/id.js | 2 +- packages/core/utils/map.js | 2 +- packages/core/utils/object-id.js | 2 +- packages/core/utils/random.js | 2 +- packages/core/utils/set.js | 2 +- packages/core/utils/templates/html/builder.js | 2 +- .../core/utils/templates/html/template.js | 2 +- .../core/utils/templates/markdown/builder.js | 2 +- .../core/utils/templates/markdown/template.js | 2 +- packages/core/utils/templates/text/builder.js | 2 +- .../core/utils/templates/text/template.js | 2 +- packages/crypto-worker/index.ts | 2 +- packages/crypto-worker/src/utils.ts | 2 +- packages/crypto-worker/src/worker.ts | 2 +- packages/crypto-worker/src/workerstream.ts | 2 +- packages/crypto/index.ts | 2 +- packages/crypto/src/decryption.ts | 2 +- packages/crypto/src/encryption.ts | 2 +- packages/crypto/src/interfaces.ts | 2 +- packages/crypto/src/keyutils.ts | 2 +- packages/crypto/src/password.ts | 2 +- packages/crypto/src/types.ts | 2 +- packages/editor-mobile/src/App.test.js | 2 +- packages/editor-mobile/src/App.tsx | 2 +- .../editor-mobile/src/components/button.tsx | 2 +- .../editor-mobile/src/components/editor.tsx | 2 +- .../editor-mobile/src/components/header.tsx | 2 +- .../src/components/statusbar.tsx | 8 +- .../editor-mobile/src/components/tags.tsx | 2 +- .../editor-mobile/src/components/title.tsx | 2 +- .../src/hooks/useEditorController.ts | 2 +- .../editor-mobile/src/hooks/useSafeArea.ts | 4 +- .../editor-mobile/src/hooks/useSettings.ts | 4 +- packages/editor-mobile/src/index.tsx | 2 +- packages/editor-mobile/src/react-app-env.d.ts | 2 +- packages/editor-mobile/src/setupTests.js | 2 +- packages/editor-mobile/src/state/theme.tsx | 2 +- packages/editor-mobile/src/utils/css.ts | 4 +- packages/editor-mobile/src/utils/index.ts | 2 +- packages/editor/scripts/build.mjs | 2 +- packages/editor/scripts/langen.mjs | 2 +- .../src/components/action-sheet/index.tsx | 2 +- packages/editor/src/components/button.tsx | 2 +- .../src/components/inline-input/index.tsx | 2 +- packages/editor/src/components/menu/index.tsx | 2 +- .../src/components/menu/menu-button.tsx | 2 +- .../src/components/menu/menu-separator.tsx | 2 +- packages/editor/src/components/menu/types.ts | 2 +- .../editor/src/components/menu/use-focus.ts | 2 +- .../src/components/popup-presenter/index.tsx | 2 +- .../popup-presenter/popuprenderer.tsx | 2 +- .../editor/src/components/resizer/index.tsx | 2 +- .../src/components/responsive/index.tsx | 2 +- packages/editor/src/components/tabs/index.tsx | 2 +- .../src/components/theme-provider/index.tsx | 2 +- packages/editor/src/extensions.ts | 2 +- .../src/extensions/attachment/attachment.ts | 2 +- .../src/extensions/attachment/component.tsx | 2 +- .../editor/src/extensions/attachment/index.ts | 2 +- .../src/extensions/bullet-list/bullet-list.ts | 2 +- .../src/extensions/bullet-list/index.ts | 2 +- .../clipboard-text-serializer/index.ts | 2 +- .../src/extensions/code-block/code-block.ts | 2 +- .../src/extensions/code-block/component.tsx | 2 +- .../src/extensions/code-block/highlighter.ts | 2 +- .../editor/src/extensions/code-block/index.ts | 2 +- .../src/extensions/code-block/loader.ts | 2 +- .../src/extensions/code-mark/code-mark.ts | 2 +- .../editor/src/extensions/code-mark/index.ts | 2 +- .../src/extensions/date-time/date-time.ts | 2 +- .../editor/src/extensions/date-time/index.ts | 2 +- .../editor/src/extensions/embed/component.tsx | 2 +- packages/editor/src/extensions/embed/embed.ts | 2 +- packages/editor/src/extensions/embed/index.ts | 2 +- .../src/extensions/font-size/font-size.ts | 2 +- .../editor/src/extensions/font-size/index.ts | 2 +- .../src/extensions/highlight/highlight.ts | 2 +- .../editor/src/extensions/highlight/index.ts | 2 +- .../editor/src/extensions/image/component.tsx | 2 +- packages/editor/src/extensions/image/image.ts | 2 +- packages/editor/src/extensions/image/index.ts | 2 +- .../src/extensions/keep-in-view/index.ts | 2 +- .../extensions/keep-in-view/keep-in-view.ts | 2 +- .../editor/src/extensions/key-map/index.ts | 2 +- .../editor/src/extensions/key-map/key-map.ts | 2 +- .../src/extensions/list-item/commands.ts | 2 +- .../editor/src/extensions/list-item/index.ts | 2 +- .../src/extensions/list-item/list-item.ts | 2 +- packages/editor/src/extensions/math/index.ts | 2 +- .../editor/src/extensions/math/math-block.ts | 2 +- .../editor/src/extensions/math/math-inline.ts | 2 +- .../plugin/commands/collapse-math-node.ts | 2 +- .../math/plugin/commands/insert-math-node.ts | 2 +- .../math/plugin/commands/move-cursor-cmd.ts | 2 +- .../src/extensions/math/plugin/index.ts | 2 +- .../extensions/math/plugin/math-node-view.ts | 2 +- .../src/extensions/math/plugin/math-plugin.ts | 2 +- .../math/plugin/plugins/math-backspace.ts | 2 +- .../math/plugin/plugins/math-paste-rules.ts | 2 +- .../math/plugin/plugins/math-select.ts | 2 +- .../extensions/math/plugin/renderers/katex.ts | 2 +- .../extensions/math/plugin/renderers/types.ts | 2 +- .../math/plugin/utils/text-serializer.ts | 2 +- .../src/extensions/math/plugin/utils/types.ts | 2 +- .../editor/src/extensions/open-link/index.ts | 2 +- .../src/extensions/open-link/open-link.ts | 2 +- .../src/extensions/ordered-list/index.ts | 2 +- .../extensions/ordered-list/ordered-list.ts | 2 +- .../outline-list-item/component.tsx | 2 +- .../src/extensions/outline-list-item/index.ts | 2 +- .../outline-list-item/outline-list-item.ts | 2 +- .../src/extensions/outline-list/component.tsx | 2 +- .../src/extensions/outline-list/index.ts | 2 +- .../extensions/outline-list/outline-list.ts | 2 +- .../editor/src/extensions/paragraph/index.ts | 2 +- .../src/extensions/paragraph/paragraph.ts | 2 +- .../src/extensions/react/event-dispatcher.ts | 2 +- packages/editor/src/extensions/react/index.ts | 2 +- .../editor/src/extensions/react/plugin.ts | 2 +- .../src/extensions/react/react-node-view.tsx | 2 +- .../react/react-portal-provider.tsx | 2 +- .../react/selection-based-react-node-view.tsx | 2 +- packages/editor/src/extensions/react/types.ts | 2 +- .../src/extensions/search-replace/index.ts | 2 +- .../search-replace/search-replace.ts | 2 +- .../src/extensions/selection-persist/index.ts | 2 +- .../selection-persist/selection-persist.ts | 2 +- .../editor/src/extensions/table-cell/index.ts | 2 +- .../src/extensions/table-cell/table-cell.ts | 2 +- .../editor/src/extensions/table/actions.ts | 2 +- .../editor/src/extensions/table/component.tsx | 2 +- packages/editor/src/extensions/table/index.ts | 2 +- packages/editor/src/extensions/table/table.ts | 2 +- .../src/extensions/task-item/component.tsx | 4 +- .../editor/src/extensions/task-item/index.ts | 2 +- .../src/extensions/task-item/task-item.ts | 2 +- .../src/extensions/task-list/component.tsx | 2 +- .../editor/src/extensions/task-list/index.ts | 2 +- .../src/extensions/task-list/task-list.ts | 2 +- .../src/extensions/text-direction/index.ts | 2 +- .../text-direction/text-direction.ts | 2 +- .../src/extensions/web-clip/component.tsx | 2 +- .../editor/src/extensions/web-clip/index.ts | 2 +- .../src/extensions/web-clip/web-clip.ts | 2 +- packages/editor/src/hooks/use-editor.ts | 2 +- .../src/hooks/use-permission-handler.ts | 2 +- packages/editor/src/hooks/use-ref-value.ts | 2 +- packages/editor/src/index.ts | 2 +- .../editor/src/toolbar/components/counter.tsx | 2 +- .../src/toolbar/components/dropdown.tsx | 2 +- .../editor/src/toolbar/components/icon.tsx | 2 +- .../src/toolbar/components/more-tools.tsx | 2 +- .../editor/src/toolbar/components/popup.tsx | 2 +- .../src/toolbar/components/split-button.tsx | 2 +- .../src/toolbar/components/tool-button.tsx | 2 +- .../src/toolbar/components/toolbar-group.tsx | 2 +- .../floating-menus/hover-popup/index.tsx | 2 +- .../floating-menus/hover-popup/link.tsx | 2 +- .../src/toolbar/floating-menus/index.tsx | 2 +- .../toolbar/floating-menus/search-replace.tsx | 2 +- .../src/toolbar/floating-menus/types.ts | 2 +- packages/editor/src/toolbar/icons.ts | 2 +- packages/editor/src/toolbar/index.ts | 2 +- .../src/toolbar/popups/cell-properties.tsx | 2 +- .../src/toolbar/popups/color-picker.tsx | 2 +- .../editor/src/toolbar/popups/embed-popup.tsx | 2 +- .../src/toolbar/popups/image-properties.tsx | 2 +- .../src/toolbar/popups/image-upload.tsx | 2 +- .../editor/src/toolbar/popups/link-popup.tsx | 2 +- .../src/toolbar/popups/search-replace.tsx | 2 +- .../editor/src/toolbar/popups/table-popup.tsx | 2 +- .../src/toolbar/stores/toolbar-store.ts | 2 +- .../editor/src/toolbar/tool-definitions.ts | 2 +- packages/editor/src/toolbar/toolbar.tsx | 2 +- .../editor/src/toolbar/tools/alignment.tsx | 2 +- .../editor/src/toolbar/tools/attachment.tsx | 2 +- packages/editor/src/toolbar/tools/block.tsx | 2 +- packages/editor/src/toolbar/tools/colors.tsx | 2 +- packages/editor/src/toolbar/tools/embed.tsx | 2 +- packages/editor/src/toolbar/tools/font.tsx | 2 +- .../editor/src/toolbar/tools/headings.tsx | 2 +- packages/editor/src/toolbar/tools/image.tsx | 2 +- packages/editor/src/toolbar/tools/index.ts | 2 +- packages/editor/src/toolbar/tools/inline.tsx | 2 +- packages/editor/src/toolbar/tools/link.tsx | 2 +- packages/editor/src/toolbar/tools/lists.tsx | 2 +- packages/editor/src/toolbar/tools/table.tsx | 2 +- .../src/toolbar/tools/text-direction.tsx | 2 +- packages/editor/src/toolbar/tools/utils.tsx | 2 +- .../editor/src/toolbar/tools/web-clip.tsx | 2 +- packages/editor/src/toolbar/types.ts | 2 +- packages/editor/src/toolbar/utils/dom.ts | 2 +- packages/editor/src/types.ts | 2 +- packages/editor/src/utils/config.ts | 2 +- packages/editor/src/utils/debounce.ts | 2 +- packages/editor/src/utils/downloader.ts | 2 +- packages/editor/src/utils/platform.ts | 2 +- packages/editor/src/utils/position.ts | 2 +- packages/editor/src/utils/prosemirror.ts | 2 +- packages/logger/src/index.ts | 2 +- packages/logger/src/reporters/console.ts | 2 +- packages/logger/src/reporters/index.ts | 2 +- packages/logger/src/types.ts | 2 +- packages/streamable-fs/index.ts | 2 +- packages/streamable-fs/src/filehandle.ts | 2 +- .../streamable-fs/src/filestreamsource.ts | 2 +- packages/streamable-fs/src/interfaces.ts | 2 +- packages/streamable-fs/src/types.ts | 2 +- packages/theme/src/css.ts | 2 +- packages/theme/src/index.ts | 2 +- packages/theme/src/theme/accents.ts | 2 +- packages/theme/src/theme/colorscheme/dark.ts | 2 +- packages/theme/src/theme/colorscheme/index.ts | 2 +- packages/theme/src/theme/colorscheme/light.ts | 2 +- .../theme/src/theme/colorscheme/static.ts | 2 +- packages/theme/src/theme/font/fontsize.ts | 2 +- packages/theme/src/theme/font/index.ts | 2 +- packages/theme/src/theme/index.ts | 2 +- packages/theme/src/theme/transformer/css.ts | 2 +- packages/theme/src/theme/transformer/index.ts | 2 +- packages/theme/src/theme/types.ts | 2 +- packages/theme/src/theme/variants/button.ts | 2 +- packages/theme/src/theme/variants/flex.ts | 2 +- packages/theme/src/theme/variants/index.ts | 2 +- packages/theme/src/theme/variants/input.ts | 2 +- packages/theme/src/theme/variants/text.ts | 2 +- packages/theme/src/themeprovider.ts | 2 +- 977 files changed, 1096 insertions(+), 1102 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 940594bd7..07d0b19cb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,7 +2,7 @@ const LICENSE = [ "", "This file is part of the Notesnook project (https://notesnook.com/)", "", - "Copyright (C) 2022 Streetwriters (Private) Limited", + "Copyright (C) 2023 Streetwriters (Private) Limited", "", "This program is free software: you can redistribute it and/or modify", "it under the terms of the GNU General Public License as published by", diff --git a/apps/mobile/app/app.js b/apps/mobile/app/app.js index 00ac551f7..da25bbcb7 100644 --- a/apps/mobile/app/app.js +++ b/apps/mobile/app/app.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/assets/images/assets.js b/apps/mobile/app/assets/images/assets.js index 599713c7d..fe98326e0 100644 --- a/apps/mobile/app/assets/images/assets.js +++ b/apps/mobile/app/assets/images/assets.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/analytics/index.js b/apps/mobile/app/common/analytics/index.js index 27cac4ff6..305c2acbf 100644 --- a/apps/mobile/app/common/analytics/index.js +++ b/apps/mobile/app/common/analytics/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/database/encryption.js b/apps/mobile/app/common/database/encryption.js index b0fd9ee2d..d025428de 100644 --- a/apps/mobile/app/common/database/encryption.js +++ b/apps/mobile/app/common/database/encryption.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/database/index.js b/apps/mobile/app/common/database/index.js index 1690250f4..e2becd022 100644 --- a/apps/mobile/app/common/database/index.js +++ b/apps/mobile/app/common/database/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/database/mmkv.js b/apps/mobile/app/common/database/mmkv.js index d2ad3666e..02a866e75 100644 --- a/apps/mobile/app/common/database/mmkv.js +++ b/apps/mobile/app/common/database/mmkv.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/database/storage.js b/apps/mobile/app/common/database/storage.js index e28e73ba1..798768938 100644 --- a/apps/mobile/app/common/database/storage.js +++ b/apps/mobile/app/common/database/storage.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/filesystem/download-attachment.js b/apps/mobile/app/common/filesystem/download-attachment.js index 600e0469c..d35848a26 100644 --- a/apps/mobile/app/common/filesystem/download-attachment.js +++ b/apps/mobile/app/common/filesystem/download-attachment.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -114,4 +114,3 @@ export default async function downloadAttachment(hash, global = true) { useAttachmentStore.getState().remove(attachment.metadata.hash); } } - diff --git a/apps/mobile/app/common/filesystem/download.js b/apps/mobile/app/common/filesystem/download.js index 72e201834..ce637c3eb 100644 --- a/apps/mobile/app/common/filesystem/download.js +++ b/apps/mobile/app/common/filesystem/download.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/filesystem/index.js b/apps/mobile/app/common/filesystem/index.js index 2ff6d5e55..00dc719b8 100644 --- a/apps/mobile/app/common/filesystem/index.js +++ b/apps/mobile/app/common/filesystem/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,10 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -import { - checkAttachment, downloadFile, - getUploadedFileSize -} from "./download"; +import { checkAttachment, downloadFile, getUploadedFileSize } from "./download"; import { clearFileStorage, deleteFile, diff --git a/apps/mobile/app/common/filesystem/io.js b/apps/mobile/app/common/filesystem/io.js index 6ab73847b..9d0fa71f9 100644 --- a/apps/mobile/app/common/filesystem/io.js +++ b/apps/mobile/app/common/filesystem/io.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/filesystem/upload.js b/apps/mobile/app/common/filesystem/upload.js index 86bcb2b7e..c4e4aeef7 100644 --- a/apps/mobile/app/common/filesystem/upload.js +++ b/apps/mobile/app/common/filesystem/upload.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/filesystem/utils.js b/apps/mobile/app/common/filesystem/utils.js index dea0ab527..7605d59de 100644 --- a/apps/mobile/app/common/filesystem/utils.js +++ b/apps/mobile/app/common/filesystem/utils.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/common/logger/index.ts b/apps/mobile/app/common/logger/index.ts index 1f60289c5..2e50320a8 100644 --- a/apps/mobile/app/common/logger/index.ts +++ b/apps/mobile/app/common/logger/index.ts @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/announcement.js b/apps/mobile/app/components/announcements/announcement.js index 01f3c2545..caa1d5c25 100644 --- a/apps/mobile/app/components/announcements/announcement.js +++ b/apps/mobile/app/components/announcements/announcement.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/body.js b/apps/mobile/app/components/announcements/body.js index 66a498eee..b45eee919 100644 --- a/apps/mobile/app/components/announcements/body.js +++ b/apps/mobile/app/components/announcements/body.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/cta.js b/apps/mobile/app/components/announcements/cta.js index c0a95b541..2a08032ff 100644 --- a/apps/mobile/app/components/announcements/cta.js +++ b/apps/mobile/app/components/announcements/cta.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,10 +23,7 @@ import { Linking, View } from "react-native"; import { eSendEvent, presentSheet } from "../../services/event-manager"; import Sync from "../../services/sync"; import { useThemeStore } from "../../stores/use-theme-store"; -import { - eCloseAnnouncementDialog, - eCloseSheet -} from "../../utils/events"; +import { eCloseAnnouncementDialog, eCloseSheet } from "../../utils/events"; import { SIZE } from "../../utils/size"; import { sleep } from "../../utils/time"; import { PricingPlans } from "../premium/pricing-plans"; diff --git a/apps/mobile/app/components/announcements/description.js b/apps/mobile/app/components/announcements/description.js index 4b5564568..aa2a18a1d 100644 --- a/apps/mobile/app/components/announcements/description.js +++ b/apps/mobile/app/components/announcements/description.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/functions.js b/apps/mobile/app/components/announcements/functions.js index 79587fab6..16dbd86d9 100644 --- a/apps/mobile/app/components/announcements/functions.js +++ b/apps/mobile/app/components/announcements/functions.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/index.js b/apps/mobile/app/components/announcements/index.js index e44b5d8cc..4487bbf6e 100644 --- a/apps/mobile/app/components/announcements/index.js +++ b/apps/mobile/app/components/announcements/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/list.js b/apps/mobile/app/components/announcements/list.js index 588fe4a3b..1326ae28f 100644 --- a/apps/mobile/app/components/announcements/list.js +++ b/apps/mobile/app/components/announcements/list.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/photo.js b/apps/mobile/app/components/announcements/photo.js index 8073f572c..48c0710c8 100644 --- a/apps/mobile/app/components/announcements/photo.js +++ b/apps/mobile/app/components/announcements/photo.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/subheading.js b/apps/mobile/app/components/announcements/subheading.js index 4a6c6744f..747f05183 100644 --- a/apps/mobile/app/components/announcements/subheading.js +++ b/apps/mobile/app/components/announcements/subheading.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/announcements/title.js b/apps/mobile/app/components/announcements/title.js index 79ec552bd..ecc908bb7 100644 --- a/apps/mobile/app/components/announcements/title.js +++ b/apps/mobile/app/components/announcements/title.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/attachments/actions.js b/apps/mobile/app/components/attachments/actions.js index 7b1151134..161185606 100644 --- a/apps/mobile/app/components/attachments/actions.js +++ b/apps/mobile/app/components/attachments/actions.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,10 +35,7 @@ import PremiumService from "../../services/premium"; import { useAttachmentStore } from "../../stores/use-attachment-store"; import { useThemeStore } from "../../stores/use-theme-store"; import { formatBytes } from "../../utils"; -import { - eCloseAttachmentDialog, - eCloseSheet -} from "../../utils/events"; +import { eCloseAttachmentDialog, eCloseSheet } from "../../utils/events"; import { SIZE } from "../../utils/size"; import { sleep } from "../../utils/time"; import { Dialog } from "../dialog"; diff --git a/apps/mobile/app/components/attachments/attachment-item.js b/apps/mobile/app/components/attachments/attachment-item.js index cd4e68fee..ea883d5bc 100644 --- a/apps/mobile/app/components/attachments/attachment-item.js +++ b/apps/mobile/app/components/attachments/attachment-item.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/attachments/index.js b/apps/mobile/app/components/attachments/index.js index 849b5492b..ce3e9cce5 100644 --- a/apps/mobile/app/components/attachments/index.js +++ b/apps/mobile/app/components/attachments/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/auth-modal.js b/apps/mobile/app/components/auth/auth-modal.js index cfe6e3671..2da011237 100644 --- a/apps/mobile/app/components/auth/auth-modal.js +++ b/apps/mobile/app/components/auth/auth-modal.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/background.js b/apps/mobile/app/components/auth/background.js index 31d5b3b0b..461b10084 100644 --- a/apps/mobile/app/components/auth/background.js +++ b/apps/mobile/app/components/auth/background.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/change-password.js b/apps/mobile/app/components/auth/change-password.js index 7ad1a11d5..467cd1a7c 100644 --- a/apps/mobile/app/components/auth/change-password.js +++ b/apps/mobile/app/components/auth/change-password.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/common.js b/apps/mobile/app/components/auth/common.js index 680c40be1..d5faf4066 100644 --- a/apps/mobile/app/components/auth/common.js +++ b/apps/mobile/app/components/auth/common.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/forgot-password.js b/apps/mobile/app/components/auth/forgot-password.js index e0a4d7e4a..fdda27406 100644 --- a/apps/mobile/app/components/auth/forgot-password.js +++ b/apps/mobile/app/components/auth/forgot-password.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/index.js b/apps/mobile/app/components/auth/index.js index cc8fec038..0fbbe7c3b 100644 --- a/apps/mobile/app/components/auth/index.js +++ b/apps/mobile/app/components/auth/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/login.js b/apps/mobile/app/components/auth/login.js index 4625f0601..99a4a7049 100644 --- a/apps/mobile/app/components/auth/login.js +++ b/apps/mobile/app/components/auth/login.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/session-expired.js b/apps/mobile/app/components/auth/session-expired.js index af679ffed..cb6bf2109 100644 --- a/apps/mobile/app/components/auth/session-expired.js +++ b/apps/mobile/app/components/auth/session-expired.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/signup.js b/apps/mobile/app/components/auth/signup.js index efde89f3a..27f62eb8b 100644 --- a/apps/mobile/app/components/auth/signup.js +++ b/apps/mobile/app/components/auth/signup.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/two-factor.js b/apps/mobile/app/components/auth/two-factor.js index d265b262b..92be05ef2 100644 --- a/apps/mobile/app/components/auth/two-factor.js +++ b/apps/mobile/app/components/auth/two-factor.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/auth/use-login.js b/apps/mobile/app/components/auth/use-login.js index 60946b94e..cfbbc8495 100644 --- a/apps/mobile/app/components/auth/use-login.js +++ b/apps/mobile/app/components/auth/use-login.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/container/container-header.js b/apps/mobile/app/components/container/container-header.js index 2121818c7..ffd4861c5 100644 --- a/apps/mobile/app/components/container/container-header.js +++ b/apps/mobile/app/components/container/container-header.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/container/floating-button.js b/apps/mobile/app/components/container/floating-button.js index 3b2681a0b..2bbc5da12 100644 --- a/apps/mobile/app/components/container/floating-button.js +++ b/apps/mobile/app/components/container/floating-button.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/container/index.js b/apps/mobile/app/components/container/index.js index 16b8f35d1..9062e5a43 100644 --- a/apps/mobile/app/components/container/index.js +++ b/apps/mobile/app/components/container/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/delay-layout/default-placeholder.tsx b/apps/mobile/app/components/delay-layout/default-placeholder.tsx index f56f2ad9f..50a13ca10 100644 --- a/apps/mobile/app/components/delay-layout/default-placeholder.tsx +++ b/apps/mobile/app/components/delay-layout/default-placeholder.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/delay-layout/index.tsx b/apps/mobile/app/components/delay-layout/index.tsx index c4e1f7664..23d1fda29 100644 --- a/apps/mobile/app/components/delay-layout/index.tsx +++ b/apps/mobile/app/components/delay-layout/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/delay-layout/settings-placeholder.tsx b/apps/mobile/app/components/delay-layout/settings-placeholder.tsx index 06c58ba53..328ffaa13 100644 --- a/apps/mobile/app/components/delay-layout/settings-placeholder.tsx +++ b/apps/mobile/app/components/delay-layout/settings-placeholder.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog-provider/index.js b/apps/mobile/app/components/dialog-provider/index.js index f4dec7e26..1baea8141 100644 --- a/apps/mobile/app/components/dialog-provider/index.js +++ b/apps/mobile/app/components/dialog-provider/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog-provider/recievers.js b/apps/mobile/app/components/dialog-provider/recievers.js index 483fa5d78..28b738c09 100644 --- a/apps/mobile/app/components/dialog-provider/recievers.js +++ b/apps/mobile/app/components/dialog-provider/recievers.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog/base-dialog.js b/apps/mobile/app/components/dialog/base-dialog.js index e5622168e..2bf19bbba 100644 --- a/apps/mobile/app/components/dialog/base-dialog.js +++ b/apps/mobile/app/components/dialog/base-dialog.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog/dialog-buttons.js b/apps/mobile/app/components/dialog/dialog-buttons.js index b3388b6ab..3521504f7 100644 --- a/apps/mobile/app/components/dialog/dialog-buttons.js +++ b/apps/mobile/app/components/dialog/dialog-buttons.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog/dialog-container.js b/apps/mobile/app/components/dialog/dialog-container.js index 78cdc7588..9cdc15c91 100644 --- a/apps/mobile/app/components/dialog/dialog-container.js +++ b/apps/mobile/app/components/dialog/dialog-container.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog/dialog-header.tsx b/apps/mobile/app/components/dialog/dialog-header.tsx index 57b26e3ae..a18a87460 100644 --- a/apps/mobile/app/components/dialog/dialog-header.tsx +++ b/apps/mobile/app/components/dialog/dialog-header.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ type DialogHeaderProps = { loading?: boolean; title?: string; type?: PressableButtonProps["type"]; - icon?: string + icon?: string; }; paragraphColor?: string; padding?: number; diff --git a/apps/mobile/app/components/dialog/functions.ts b/apps/mobile/app/components/dialog/functions.ts index f5f17fc5d..fc9d1205b 100644 --- a/apps/mobile/app/components/dialog/functions.ts +++ b/apps/mobile/app/components/dialog/functions.ts @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialog/index.js b/apps/mobile/app/components/dialog/index.js index 0ed22ffb4..da92a300b 100644 --- a/apps/mobile/app/components/dialog/index.js +++ b/apps/mobile/app/components/dialog/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/add-topic/index.js b/apps/mobile/app/components/dialogs/add-topic/index.js index 44909beb1..0986f9d74 100644 --- a/apps/mobile/app/components/dialogs/add-topic/index.js +++ b/apps/mobile/app/components/dialogs/add-topic/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/jump-to-section/index.js b/apps/mobile/app/components/dialogs/jump-to-section/index.js index 69dbe0aac..95613f906 100644 --- a/apps/mobile/app/components/dialogs/jump-to-section/index.js +++ b/apps/mobile/app/components/dialogs/jump-to-section/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/loading/index.tsx b/apps/mobile/app/components/dialogs/loading/index.tsx index bb11785ca..c28ccd80c 100644 --- a/apps/mobile/app/components/dialogs/loading/index.tsx +++ b/apps/mobile/app/components/dialogs/loading/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/result/index.js b/apps/mobile/app/components/dialogs/result/index.js index 24840fe60..a5b7c10c7 100644 --- a/apps/mobile/app/components/dialogs/result/index.js +++ b/apps/mobile/app/components/dialogs/result/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/result/pro-features.js b/apps/mobile/app/components/dialogs/result/pro-features.js index 3dd1caa8d..d736e4db1 100644 --- a/apps/mobile/app/components/dialogs/result/pro-features.js +++ b/apps/mobile/app/components/dialogs/result/pro-features.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/dialogs/vault/index.js b/apps/mobile/app/components/dialogs/vault/index.js index 11ec81ed9..e808d96ea 100644 --- a/apps/mobile/app/components/dialogs/vault/index.js +++ b/apps/mobile/app/components/dialogs/vault/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/exception-handler/index.tsx b/apps/mobile/app/components/exception-handler/index.tsx index 78009dcaa..4655f923f 100644 --- a/apps/mobile/app/components/exception-handler/index.tsx +++ b/apps/mobile/app/components/exception-handler/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/globalsafearea/index.tsx b/apps/mobile/app/components/globalsafearea/index.tsx index 302356a08..922540b78 100644 --- a/apps/mobile/app/components/globalsafearea/index.tsx +++ b/apps/mobile/app/components/globalsafearea/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/header/index.js b/apps/mobile/app/components/header/index.js index 39b651e9b..358b4b775 100644 --- a/apps/mobile/app/components/header/index.js +++ b/apps/mobile/app/components/header/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/header/left-menus.js b/apps/mobile/app/components/header/left-menus.js index eed49b492..1f6af651f 100644 --- a/apps/mobile/app/components/header/left-menus.js +++ b/apps/mobile/app/components/header/left-menus.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/header/right-menus.js b/apps/mobile/app/components/header/right-menus.js index 75f3ebdc8..530fe53a0 100644 --- a/apps/mobile/app/components/header/right-menus.js +++ b/apps/mobile/app/components/header/right-menus.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/header/title.js b/apps/mobile/app/components/header/title.js index bcffcf260..df0898677 100644 --- a/apps/mobile/app/components/header/title.js +++ b/apps/mobile/app/components/header/title.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/image-preview/index.js b/apps/mobile/app/components/image-preview/index.js index f8f12c627..72d632ac4 100644 --- a/apps/mobile/app/components/image-preview/index.js +++ b/apps/mobile/app/components/image-preview/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/intro/index.js b/apps/mobile/app/components/intro/index.js index 60babca7f..265206b93 100644 --- a/apps/mobile/app/components/intro/index.js +++ b/apps/mobile/app/components/intro/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/intro/welcome.js b/apps/mobile/app/components/intro/welcome.js index 4760491d4..98adede57 100644 --- a/apps/mobile/app/components/intro/welcome.js +++ b/apps/mobile/app/components/intro/welcome.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/launcher/index.js b/apps/mobile/app/components/launcher/index.js index d9fc6f96e..7478ca5ac 100644 --- a/apps/mobile/app/components/launcher/index.js +++ b/apps/mobile/app/components/launcher/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -152,7 +152,7 @@ const Launcher = React.memo( }, [introCompleted]); const checkAppUpdateAvailable = async () => { - if (__DEV__) return; + if (__DEV__) return; try { const version = Config.GITHUB_RELEASE === "true" diff --git a/apps/mobile/app/components/list-items/footer/index.js b/apps/mobile/app/components/list-items/footer/index.js index 5416cb433..f2b61d6ae 100644 --- a/apps/mobile/app/components/list-items/footer/index.js +++ b/apps/mobile/app/components/list-items/footer/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/headers/header.js b/apps/mobile/app/components/list-items/headers/header.js index 64513b8fb..c55fcdc8b 100644 --- a/apps/mobile/app/components/list-items/headers/header.js +++ b/apps/mobile/app/components/list-items/headers/header.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/headers/notebook-header.js b/apps/mobile/app/components/list-items/headers/notebook-header.js index 1e8d9a716..97343e950 100644 --- a/apps/mobile/app/components/list-items/headers/notebook-header.js +++ b/apps/mobile/app/components/list-items/headers/notebook-header.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/headers/section-header.js b/apps/mobile/app/components/list-items/headers/section-header.js index 0e9093a83..807469406 100644 --- a/apps/mobile/app/components/list-items/headers/section-header.js +++ b/apps/mobile/app/components/list-items/headers/section-header.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/note/index.js b/apps/mobile/app/components/list-items/note/index.js index db554137b..86f82b8ec 100644 --- a/apps/mobile/app/components/list-items/note/index.js +++ b/apps/mobile/app/components/list-items/note/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/note/wrapper.js b/apps/mobile/app/components/list-items/note/wrapper.js index ac0f5685b..737f3bcf3 100644 --- a/apps/mobile/app/components/list-items/note/wrapper.js +++ b/apps/mobile/app/components/list-items/note/wrapper.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/notebook/index.js b/apps/mobile/app/components/list-items/notebook/index.js index 0e0b9f062..36738caeb 100644 --- a/apps/mobile/app/components/list-items/notebook/index.js +++ b/apps/mobile/app/components/list-items/notebook/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -131,7 +131,6 @@ export const NotebookItem = ({ height: SIZE.md + 2 }} > - {isTrash ? ( <> {item.type === "note" ? ( diff --git a/apps/mobile/app/components/list-items/selection-wrapper/selection.js b/apps/mobile/app/components/list-items/selection-wrapper/selection.js index 1ca57d3be..09dcc2874 100644 --- a/apps/mobile/app/components/list-items/selection-wrapper/selection.js +++ b/apps/mobile/app/components/list-items/selection-wrapper/selection.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list-items/tag/index.js b/apps/mobile/app/components/list-items/tag/index.js index 01c878be7..f0bb8d1e2 100644 --- a/apps/mobile/app/components/list-items/tag/index.js +++ b/apps/mobile/app/components/list-items/tag/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list/card.js b/apps/mobile/app/components/list/card.js index 5c51d1834..c0c271364 100644 --- a/apps/mobile/app/components/list/card.js +++ b/apps/mobile/app/components/list/card.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list/empty.js b/apps/mobile/app/components/list/empty.js index acb2ddde0..42973634f 100644 --- a/apps/mobile/app/components/list/empty.js +++ b/apps/mobile/app/components/list/empty.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/list/index.js b/apps/mobile/app/components/list/index.js index 739a36ab3..3cbc8f0a4 100644 --- a/apps/mobile/app/components/list/index.js +++ b/apps/mobile/app/components/list/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -85,9 +85,9 @@ const RenderItem = ({ item, index, type, ...restArgs }) => { }; /** - * - * @param {any} param0 - * @returns + * + * @param {any} param0 + * @returns */ const List = ({ listData, diff --git a/apps/mobile/app/components/merge-conflicts/index.js b/apps/mobile/app/components/merge-conflicts/index.js index 35a0824a0..0c0ccc305 100644 --- a/apps/mobile/app/components/merge-conflicts/index.js +++ b/apps/mobile/app/components/merge-conflicts/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/note-history/index.js b/apps/mobile/app/components/note-history/index.js index 4d3c23420..c4800d61f 100644 --- a/apps/mobile/app/components/note-history/index.js +++ b/apps/mobile/app/components/note-history/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/note-history/preview.js b/apps/mobile/app/components/note-history/preview.js index b5cc59dd3..37a54738c 100644 --- a/apps/mobile/app/components/note-history/preview.js +++ b/apps/mobile/app/components/note-history/preview.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -93,7 +93,7 @@ export default function NotePreview({ session, content, note }) { paragraph: `Are you sure you want to delete this note from trash permanentaly`, positiveText: "Delete", negativeText: "Cancel", - context:"local", + context: "local", positivePress: async () => { await db.trash.delete(note.id); useTrashStore.getState().setTrash(); @@ -105,7 +105,7 @@ export default function NotePreview({ session, content, note }) { }); eSendEvent(eCloseSheet); }, - positiveType:"error" + positiveType: "error" }); }; diff --git a/apps/mobile/app/components/premium/compact-features.js b/apps/mobile/app/components/premium/compact-features.js index 502b2dcb0..b6f2a7a37 100644 --- a/apps/mobile/app/components/premium/compact-features.js +++ b/apps/mobile/app/components/premium/compact-features.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/component.js b/apps/mobile/app/components/premium/component.js index bccb11bbf..5d9f58dea 100644 --- a/apps/mobile/app/components/premium/component.js +++ b/apps/mobile/app/components/premium/component.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,7 +48,7 @@ import { Walkthrough } from "../walkthroughs"; import { features } from "./features"; import { Group } from "./group"; import { PricingPlans } from "./pricing-plans"; -import { Platform } from 'react-native'; +import { Platform } from "react-native"; export const Component = ({ close, promo }) => { const colors = useThemeStore((state) => state.colors); diff --git a/apps/mobile/app/components/premium/expiring.js b/apps/mobile/app/components/premium/expiring.js index 52c3272e1..48da35566 100644 --- a/apps/mobile/app/components/premium/expiring.js +++ b/apps/mobile/app/components/premium/expiring.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/feature.js b/apps/mobile/app/components/premium/feature.js index 5bf36620a..d15be7ed5 100644 --- a/apps/mobile/app/components/premium/feature.js +++ b/apps/mobile/app/components/premium/feature.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/features.js b/apps/mobile/app/components/premium/features.js index a175f7462..5316a6224 100644 --- a/apps/mobile/app/components/premium/features.js +++ b/apps/mobile/app/components/premium/features.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/group.js b/apps/mobile/app/components/premium/group.js index fdbd19a4d..2a2408aa0 100644 --- a/apps/mobile/app/components/premium/group.js +++ b/apps/mobile/app/components/premium/group.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/index.js b/apps/mobile/app/components/premium/index.js index 230bbb832..46c25bc49 100644 --- a/apps/mobile/app/components/premium/index.js +++ b/apps/mobile/app/components/premium/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/offer.js b/apps/mobile/app/components/premium/offer.js index 260b75bb1..699a32190 100644 --- a/apps/mobile/app/components/premium/offer.js +++ b/apps/mobile/app/components/premium/offer.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/premium-toast.js b/apps/mobile/app/components/premium/premium-toast.js index 9abe294a3..c04494608 100644 --- a/apps/mobile/app/components/premium/premium-toast.js +++ b/apps/mobile/app/components/premium/premium-toast.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/pricing-item.js b/apps/mobile/app/components/premium/pricing-item.js index e6ee55f13..70d04a485 100644 --- a/apps/mobile/app/components/premium/pricing-item.js +++ b/apps/mobile/app/components/premium/pricing-item.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/pricing-plans.js b/apps/mobile/app/components/premium/pricing-plans.js index 279eec9be..b075eaed5 100644 --- a/apps/mobile/app/components/premium/pricing-plans.js +++ b/apps/mobile/app/components/premium/pricing-plans.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/premium/pro-tag.js b/apps/mobile/app/components/premium/pro-tag.js index 205f6d433..c1c9a6848 100644 --- a/apps/mobile/app/components/premium/pro-tag.js +++ b/apps/mobile/app/components/premium/pro-tag.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/color-tags.js b/apps/mobile/app/components/properties/color-tags.js index 14897d1a9..3063d67d0 100644 --- a/apps/mobile/app/components/properties/color-tags.js +++ b/apps/mobile/app/components/properties/color-tags.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/date-meta.js b/apps/mobile/app/components/properties/date-meta.js index b1b5e5124..7cc8ebfc3 100644 --- a/apps/mobile/app/components/properties/date-meta.js +++ b/apps/mobile/app/components/properties/date-meta.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/dev-mode.js b/apps/mobile/app/components/properties/dev-mode.js index b4acbea34..13b13c8da 100644 --- a/apps/mobile/app/components/properties/dev-mode.js +++ b/apps/mobile/app/components/properties/dev-mode.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/index.js b/apps/mobile/app/components/properties/index.js index 33e9274d4..c6833977f 100644 --- a/apps/mobile/app/components/properties/index.js +++ b/apps/mobile/app/components/properties/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/items.js b/apps/mobile/app/components/properties/items.js index 2ef350b68..3557df8f0 100644 --- a/apps/mobile/app/components/properties/items.js +++ b/apps/mobile/app/components/properties/items.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/notebooks.js b/apps/mobile/app/components/properties/notebooks.js index cb9bbd655..6efa03da8 100644 --- a/apps/mobile/app/components/properties/notebooks.js +++ b/apps/mobile/app/components/properties/notebooks.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/synced.js b/apps/mobile/app/components/properties/synced.js index de72e2794..5967e3bf1 100644 --- a/apps/mobile/app/components/properties/synced.js +++ b/apps/mobile/app/components/properties/synced.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/tags.js b/apps/mobile/app/components/properties/tags.js index ef7dd97fa..b4c8f52f6 100644 --- a/apps/mobile/app/components/properties/tags.js +++ b/apps/mobile/app/components/properties/tags.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/properties/topics.js b/apps/mobile/app/components/properties/topics.js index 73974cf6b..0e7ec2c7c 100644 --- a/apps/mobile/app/components/properties/topics.js +++ b/apps/mobile/app/components/properties/topics.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/selection-header/index.js b/apps/mobile/app/components/selection-header/index.js index 0dd794d3f..b9b8b0e97 100644 --- a/apps/mobile/app/components/selection-header/index.js +++ b/apps/mobile/app/components/selection-header/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheet-provider/index.js b/apps/mobile/app/components/sheet-provider/index.js index e1d994e7e..d2562b4d2 100644 --- a/apps/mobile/app/components/sheet-provider/index.js +++ b/apps/mobile/app/components/sheet-provider/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -153,15 +153,19 @@ const SheetProvider = ({ context = "global" }) => { {typeof dialogData.component === "function" - ? dialogData.component(actionSheetRef, () => close(context), (data) => { - if (!data) return; - setDialogData((prevData) => { - return { - ...prevData, - ...data - }; - }); - }) + ? dialogData.component( + actionSheetRef, + () => close(context), + (data) => { + if (!data) return; + setDialogData((prevData) => { + return { + ...prevData, + ...data + }; + }); + } + ) : dialogData.component} { }} > Please wait... - {loading && loading.current && loading.total ? - `\nDownloading attachments (${ - loading?.current / loading?.total - })` : ""} + {loading && loading.current && loading.total + ? `\nDownloading attachments (${ + loading?.current / loading?.total + })` + : ""} ) : ( diff --git a/apps/mobile/app/components/sheets/rate-app/index.js b/apps/mobile/app/components/sheets/rate-app/index.js index 667a76447..3eb41263c 100644 --- a/apps/mobile/app/components/sheets/rate-app/index.js +++ b/apps/mobile/app/components/sheets/rate-app/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/recovery-key/index.js b/apps/mobile/app/components/sheets/recovery-key/index.js index e6b3e7f61..921b50ccc 100644 --- a/apps/mobile/app/components/sheets/recovery-key/index.js +++ b/apps/mobile/app/components/sheets/recovery-key/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/relations-list/index.tsx b/apps/mobile/app/components/sheets/relations-list/index.tsx index f6b31b0cb..176484808 100644 --- a/apps/mobile/app/components/sheets/relations-list/index.tsx +++ b/apps/mobile/app/components/sheets/relations-list/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/reminder-notify/index.tsx b/apps/mobile/app/components/sheets/reminder-notify/index.tsx index b9a64f2ff..d0e8d84a8 100644 --- a/apps/mobile/app/components/sheets/reminder-notify/index.tsx +++ b/apps/mobile/app/components/sheets/reminder-notify/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/reminder/index.tsx b/apps/mobile/app/components/sheets/reminder/index.tsx index 18fb7b51a..720b61839 100644 --- a/apps/mobile/app/components/sheets/reminder/index.tsx +++ b/apps/mobile/app/components/sheets/reminder/index.tsx @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/restore-data/index.js b/apps/mobile/app/components/sheets/restore-data/index.js index 67d53cf54..1633a1705 100644 --- a/apps/mobile/app/components/sheets/restore-data/index.js +++ b/apps/mobile/app/components/sheets/restore-data/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/apps/mobile/app/components/sheets/sort/index.js b/apps/mobile/app/components/sheets/sort/index.js index 706491f48..c8037fd7b 100644 --- a/apps/mobile/app/components/sheets/sort/index.js +++ b/apps/mobile/app/components/sheets/sort/index.js @@ -1,7 +1,7 @@ /* This file is part of the Notesnook project (https://notesnook.com/) -Copyright (C) 2022 Streetwriters (Private) Limited +Copyright (C) 2023 Streetwriters (Private) Limited This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -141,8 +141,10 @@ const Sort = ({ type, screen }) => { ) : ( Object.keys(SORT).map((item) => (item === "title" && groupOptions.groupBy !== "none") || - ((screen !== "Tags" || screen !== "Reminders") && item === "dateModified") || - ((screen === "Tags" || screen === "Reminders") && item === "dateEdited") ? null : ( + ((screen !== "Tags" || screen !== "Reminders") && + item === "dateModified") || + ((screen === "Tags" || screen === "Reminders") && + item === "dateEdited") ? null : (