diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-05-06 20:27:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 10:27:05 -0700 |
commit | 973538d246a3f76550611e438152f1a6cad75f49 (patch) | |
tree | 83c7547eb9ba1123bac8ab8ef30f37d5164b3ce2 /src/view/shell | |
parent | 25f8506c4152840e83ba9210452b60ea5cc0987f (diff) | |
download | voidsky-973538d246a3f76550611e438152f1a6cad75f49.tar.zst |
New `Select` component (#8323)
* radix select component on web * native implementation (wip) * fix sheet height/padding * tone down web styles * react 19 cleanup * replace primary language select * change style on native * get auto placeholder working * more style tweaks * replace app language dropdown * replace rnpickerselect with native select * rm react-native-picker-select dependency * rm placeholder, since a value is always selected * docblock for renderItem * add more docblocks * add style prop to item * pass selectedValue through renderItem * fix context * Style overflow buttons --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/view/shell')
-rw-r--r-- | src/view/shell/NavSignupCard.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/desktop/RightNav.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/view/shell/NavSignupCard.tsx b/src/view/shell/NavSignupCard.tsx index e32c24dc4..000f5824c 100644 --- a/src/view/shell/NavSignupCard.tsx +++ b/src/view/shell/NavSignupCard.tsx @@ -65,7 +65,7 @@ let NavSignupCard = ({}: {}): React.ReactNode => { </View> <View style={[a.mt_md, a.w_full, {height: 32}]}> - <AppLanguageDropdown style={{marginTop: 0}} /> + <AppLanguageDropdown /> </View> </View> ) diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 18ce42ee8..26795e0fd 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -137,7 +137,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) { {!hasSession && leftNavMinimal && ( <View style={[a.w_full, {height: 32}]}> - <AppLanguageDropdown style={{marginTop: 0}} /> + <AppLanguageDropdown /> </View> )} </View> |