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 : (