From 1224e48bc89f49a9b0a53e90ca2bec08535de995 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Tue, 6 Jun 2023 10:42:18 +0500 Subject: [PATCH] core: fix comma added in default title --- apps/mobile/native/ios/Make Note/Info.plist | 4 ++-- apps/mobile/native/ios/Podfile.lock | 4 ++-- apps/mobile/native/release_notes.txt | 8 ++++---- packages/core/collections/notes.js | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/mobile/native/ios/Make Note/Info.plist b/apps/mobile/native/ios/Make Note/Info.plist index 9448ee2c5..843098d35 100644 --- a/apps/mobile/native/ios/Make Note/Info.plist +++ b/apps/mobile/native/ios/Make Note/Info.plist @@ -34,11 +34,11 @@ NSExtensionActivationRule NSExtensionActivationSupportsFileWithMaxCount - 5 + 5 NSExtensionActivationSupportsImageWithMaxCount 5 NSExtensionActivationSupportsMovieWithMaxCount - 5 + 5 NSExtensionActivationSupportsText NSExtensionActivationSupportsWebURLWithMaxCount diff --git a/apps/mobile/native/ios/Podfile.lock b/apps/mobile/native/ios/Podfile.lock index 1f21c95a4..339b7163e 100644 --- a/apps/mobile/native/ios/Podfile.lock +++ b/apps/mobile/native/ios/Podfile.lock @@ -283,7 +283,7 @@ PODS: - RCTTypeSafety - React-Core - ReactCommon/turbomodule/core - - react-native-share-extension (2.5.2): + - react-native-share-extension (2.5.5): - React - react-native-sodium (1.4.1): - React @@ -759,7 +759,7 @@ SPEC CHECKSUMS: react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628 react-native-pdf: 33c622cbdf776a649929e8b9d1ce2d313347c4fa react-native-safe-area-context: b8979f5eda6ed5903d4dbc885be3846ea3daa753 - react-native-share-extension: 828641041123f5489fcb820758fb8bb743d15e34 + react-native-share-extension: 8fa247810cc533c9d3bab6913f62ce7aec9bcf4a react-native-sodium: f4e3986ddcb73482f8679e534b448a0675d0cf13 react-native-webview: 9f111dfbcfc826084d6c507f569e5e03342ee1c1 React-perflogger: 8e832d4e21fdfa613033c76d58d7e617341e804b diff --git a/apps/mobile/native/release_notes.txt b/apps/mobile/native/release_notes.txt index e203f7f10..8f0be27a9 100644 --- a/apps/mobile/native/release_notes.txt +++ b/apps/mobile/native/release_notes.txt @@ -1,6 +1,6 @@ -- Preview PDFs & Images directly inside Notesnook." -- Improved attachments manager with support for downloading all attachments -- Assign tags to multiple notes -- Bug fixes and performance improvements +- Change date and time format across the app +- Change default note title for new notes using different templates +- Set a default notebook or topic to add new notes to automatically +- You can now share images and files from other apps to Notesnook and sync them instantly. Thank you for using Notesnook! \ No newline at end of file diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.js index e101be774..fb9fbeb06 100644 --- a/packages/core/collections/notes.js +++ b/packages/core/collections/notes.js @@ -449,7 +449,7 @@ export default class Notes extends Collection { } return this.formatTitle( this._db.settings.getTitleFormat(), - headline?.split(" ").splice(0, 10) + headline?.split(" ").splice(0, 10).join(" ") ); } }