From c45136ce6f00358f683f92fcf816be53afc98fd2 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 26 Feb 2026 19:13:24 +0200 Subject: [PATCH] claude ios app-style drawer --- package.json | 1 + src/view/shell/Drawer.tsx | 6 +++++- src/view/shell/index.tsx | 8 +++++++- yarn.lock | 5 +++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a21ca867eb..efd96bcc06 100644 --- a/package.json +++ b/package.json @@ -212,6 +212,7 @@ "react-native-qrcode-styled": "^0.3.3", "react-native-reanimated": "^3.19.1", "react-native-safe-area-context": "~5.6.0", + "react-native-screen-corner-radius": "^0.2.3", "react-native-screens": "^4.19.0", "react-native-svg": "15.12.1", "react-native-uitextview": "^1.4.0", diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index efb892ff55..7f30b5d87d 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -265,7 +265,11 @@ let DrawerContent = ({}: React.PropsWithoutRef<{}>): React.ReactNode => { return ( + style={[ + a.flex_1, + t.atoms.bg, + web([a.border_r, t.atoms.border_contrast_low]), + ]}> playHaptic('light')} overlayStyle={{ + overflow: 'hidden', + borderRadius: ScreenCornerRadius, backgroundColor: select(t.name, { light: 'rgba(0, 57, 117, 0.1)', dark: IS_ANDROID diff --git a/yarn.lock b/yarn.lock index 7e1958e249..8019c48dfd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17403,6 +17403,11 @@ react-native-safe-area-context@~5.6.0: resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-5.6.1.tgz#cb4d249ef1a6f7e8fd0cfdfa9764838dffda26b6" integrity sha512-/wJE58HLEAkATzhhX1xSr+fostLsK8Q97EfpfMDKo8jlOc1QKESSX/FQrhk7HhQH/2uSaox4Y86sNaI02kteiA== +react-native-screen-corner-radius@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/react-native-screen-corner-radius/-/react-native-screen-corner-radius-0.2.3.tgz#e4568d0d2d4ebfe103e2026e6dfe2da4fb3a7a03" + integrity sha512-8JgiHI/S2Xf6swquEjopHW//wI4a/nV/dEImJMR8YXQVWVdnjbhcMi0NGk1s1cW8xuunwlFT173PozsS3Gvgxg== + react-native-screens@^4.19.0: version "4.19.0" resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-4.19.0.tgz#d00f2ec070d7426204eaf34ef6c64396a6871e1d"