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
mobile: optimize sheets
ammarahm-ede6f1320b1dc4
diff --git a/apps/mobile/app/components/attachments/index.js b/apps/mobile/app/components/attachments/index.jsindex a640f19d9..bea7ff242 100644--- a/apps/mobile/app/components/attachments/index.js+++ b/apps/mobile/app/components/attachments/index.js@@ -116,6 +116,9 @@ export const AttachmentDialog = ({ data }) => {<FlatListkeyboardDismissMode="none"keyboardShouldPersistTaps="always"+ maxToRenderPerBatch={10}+ initialNumToRender={10}+ windowSize={5}ListEmptyComponent={<Viewstyle={{diff --git a/apps/mobile/app/components/sheets/topic-sheet/index.tsx b/apps/mobile/app/components/sheets/topic-sheet/index.tsxindex 284ce0aca..658948839 100644--- a/apps/mobile/app/components/sheets/topic-sheet/index.tsx+++ b/apps/mobile/app/components/sheets/topic-sheet/index.tsx@@ -191,7 +191,7 @@ export const TopicsSheet = () => {backgroundColor: colors.nav}}keyboardHandlerEnabled={false}- snapPoints={Config.isTesting === "true" ? [60, 100] : [15, 60, 100]}+ snapPoints={Config.isTesting === "true" ? [100] : [15, 100]}initialSnapIndex={0}backgroundInteractionEnabledonChange={(position, height) => {diff --git a/apps/mobile/app/package.json b/apps/mobile/app/package.jsonindex 57c390923..ce528b6a4 100644--- a/apps/mobile/app/package.json+++ b/apps/mobile/app/package.json@@ -15,7 +15,7 @@"html-to-text": "8.1.0","phone": "^3.1.14","qclone": "^1.2.0",- "react-native-actions-sheet": "^0.9.0-alpha.11",+ "react-native-actions-sheet": "^0.9.0-alpha.12","react-native-check-version": "https://github.com/flexible-agency/react-native-check-version","react-native-drax": "^0.10.2","react-native-image-zoom-viewer": "^3.0.1",diff --git a/apps/mobile/package-lock.json b/apps/mobile/package-lock.jsonindex 0b577b9ae..d8b8a9ac9 100644--- a/apps/mobile/package-lock.json+++ b/apps/mobile/package-lock.json@@ -42,7 +42,7 @@"qclone": "^1.2.0","react": "18.0.0","react-native": "0.69.7",- "react-native-actions-sheet": "^0.9.0-alpha.11",+ "react-native-actions-sheet": "^0.9.0-alpha.12","react-native-check-version": "https://github.com/flexible-agency/react-native-check-version","react-native-drax": "^0.10.2","react-native-image-zoom-viewer": "^3.0.1",@@ -17957,9 +17957,9 @@}},"node_modules/react-native-actions-sheet": {- "version": "0.9.0-alpha.11",- "resolved": "https://registry.npmjs.org/react-native-actions-sheet/-/react-native-actions-sheet-0.9.0-alpha.11.tgz",- "integrity": "sha512-bYOQVpB3lHcBh+wYa+6IEXfQC3xrlDJh+yhdIhVMjSRybvgcHGSIali8cPrGuwRF7luF0fqZIS+xsEDQs5eahA==",+ "version": "0.9.0-alpha.12",+ "resolved": "https://registry.npmjs.org/react-native-actions-sheet/-/react-native-actions-sheet-0.9.0-alpha.12.tgz",+ "integrity": "sha512-VyXsfOFkKCBWB6jn+IlKUTo0KWhItkRC8f6RMvx/RYc5WRhj4Ka5O7/BZVDs86ELJkUT08D7ufzWPjmOQ8hUKw==","peerDependencies": {"react-native": "*","react-native-gesture-handler": "*"@@ -24312,7 +24312,7 @@"qclone": "^1.2.0","react": "18.0.0","react-native": "0.69.7",- "react-native-actions-sheet": "^0.9.0-alpha.11",+ "react-native-actions-sheet": "^0.9.0-alpha.12","react-native-check-version": "https://github.com/flexible-agency/react-native-check-version","react-native-drax": "^0.10.2","react-native-image-zoom-viewer": "^3.0.1",@@ -34856,9 +34856,9 @@}},"react-native-actions-sheet": {- "version": "0.9.0-alpha.11",- "resolved": "https://registry.npmjs.org/react-native-actions-sheet/-/react-native-actions-sheet-0.9.0-alpha.11.tgz",- "integrity": "sha512-bYOQVpB3lHcBh+wYa+6IEXfQC3xrlDJh+yhdIhVMjSRybvgcHGSIali8cPrGuwRF7luF0fqZIS+xsEDQs5eahA=="+ "version": "0.9.0-alpha.12",+ "resolved": "https://registry.npmjs.org/react-native-actions-sheet/-/react-native-actions-sheet-0.9.0-alpha.12.tgz",+ "integrity": "sha512-VyXsfOFkKCBWB6jn+IlKUTo0KWhItkRC8f6RMvx/RYc5WRhj4Ka5O7/BZVDs86ELJkUT08D7ufzWPjmOQ8hUKw=="},"react-native-actions-shortcuts": {"version": "1.0.1",