A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: do not show new features sheet if features are empty
ammarahm-ed05dcc4b50470
diff --git a/apps/mobile/features.ts b/apps/mobile/features.tsindex d366abcef..ba019e771 100644--- a/apps/mobile/features.ts+++ b/apps/mobile/features.ts@@ -1,12 +1,3 @@import { FeatureType } from './src/components/sheets/new-feature';-export const features: FeatureType[] = [- {- title: 'Sync over web-sockets',- body: 'We have moved from SSE to web-sockets! Enjoy instant, fast and reliable sync with progress.'- },- {- title: 'Disable section headers',- body: 'Now you can disable section headers in lists by changing grouping to "none"'- }-];+export const features: FeatureType[] = [];diff --git a/apps/mobile/src/components/sheets/newfeature/index.tsx b/apps/mobile/src/components/sheets/newfeature/index.tsxindex 61b88e3ad..dd9e87bbd 100644--- a/apps/mobile/src/components/sheets/newfeature/index.tsx+++ b/apps/mobile/src/components/sheets/newfeature/index.tsx@@ -77,6 +77,7 @@ NewFeature.present = () => {SettingsService.set({version: APP_VERSION});+ if (features.length === 0) return;presentSheet({component: <NewFeature features={features} />});