From fcaefe9b556e5c36da7b502fc94d3ede33666329 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Mon, 31 Jul 2023 12:56:26 +0500 Subject: [PATCH] mobile: fix border radius of context menu --- apps/mobile/app/components/ui/sheet/index.js | 1 - apps/mobile/app/screens/settings/picker/index.tsx | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/app/components/ui/sheet/index.js b/apps/mobile/app/components/ui/sheet/index.js index 022d74c0e..070c76397 100644 --- a/apps/mobile/app/components/ui/sheet/index.js +++ b/apps/mobile/app/components/ui/sheet/index.js @@ -51,7 +51,6 @@ const SheetWrapper = ({ const dimensions = useSettingStore((state) => state.dimensions); const pitchBlack = useSettingStore((state) => state.settings.pitchBlack); const insets = useGlobalSafeAreaInsets(); - console.log(colors.primary.background); let width = dimensions.width > 600 ? 600 : 500; const style = React.useMemo(() => { diff --git a/apps/mobile/app/screens/settings/picker/index.tsx b/apps/mobile/app/screens/settings/picker/index.tsx index eb8d389a8..9aa3b0529 100644 --- a/apps/mobile/app/screens/settings/picker/index.tsx +++ b/apps/mobile/app/screens/settings/picker/index.tsx @@ -92,7 +92,8 @@ export function SettingsPicker({ borderRadius: 5, backgroundColor: colors.primary.background, width: width, - marginTop: 60 + marginTop: 60, + overflow: "hidden" }} onRequestClose={() => { menuRef.current?.hide();