From c4785ef96e13d02b217dce4e777269c0e895507d Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 21 Mar 2025 18:29:14 +0200 Subject: New `ContextMenu` menu type for DM messages (#8014) * get context menu somewhat working ish * take screenshot rather than double rendering * get animations somewhat working * get transform animation working * rm log * upwards safe area * get working on android * get android working once and for all * fix positioning on both platforms * use dark blur on ios always, fix dark mode * allow closing with hardware back press * try and fix type error * add note about ts-ignore * round post * add image capture error handling * extract magic numbers * set explicit embed width, rm top margin * Message embed width tweaks * Format * fix position of embeds * same as above for web --------- Co-authored-by: Eric Bailey --- src/components/ContextMenu/index.web.tsx | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/components/ContextMenu/index.web.tsx (limited to 'src/components/ContextMenu/index.web.tsx') diff --git a/src/components/ContextMenu/index.web.tsx b/src/components/ContextMenu/index.web.tsx new file mode 100644 index 000000000..f7e3b0c34 --- /dev/null +++ b/src/components/ContextMenu/index.web.tsx @@ -0,0 +1,5 @@ +export * from '#/components/Menu' + +export function Provider({children}: {children: React.ReactNode}) { + return children +} -- cgit 1.4.1