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: make attachment item pressable
Ammar Ahmed7a45522ff3ad
diff --git a/apps/mobile/app/components/attachments/attachment-item.tsx b/apps/mobile/app/components/attachments/attachment-item.tsxindex a90f41c03..9a61e0d96 100644--- a/apps/mobile/app/components/attachments/attachment-item.tsx+++ b/apps/mobile/app/components/attachments/attachment-item.tsx@@ -31,6 +31,7 @@ import { ProgressCircleComponent } from "../ui/svg/lazy";import Paragraph from "../ui/typography/paragraph";import Actions from "./actions";import { strings } from "@notesnook/intl";+import { Pressable } from "../ui/pressable";function getFileExtension(filename: string) {const ext = /^.+\.([^.]+)$/.exec(filename);@@ -69,8 +70,7 @@ export const AttachmentItem = ({};return errorOnly && attachment && !attachment?.failed ? null : (- <TouchableOpacity- activeOpacity={0.9}+ <PressableonPress={onPress}style={{flexDirection: "row",@@ -186,6 +186,6 @@ export const AttachmentItem = ({)}</>)}- </TouchableOpacity>+ </Pressable>);};