diff options
author | Ansh <anshnanda10@gmail.com> | 2023-04-12 18:49:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 18:49:40 -0700 |
commit | f50f07f562b82e15be28aa750d7e45629081faa3 (patch) | |
tree | fe814bd142983f3e734949b7f95efeb8130edd0a /src/view/shell/desktop/LeftNav.tsx | |
parent | 05e4e4ff93b0e4b7c5515852017be046ebc3859c (diff) | |
download | voidsky-f50f07f562b82e15be28aa750d7e45629081faa3.tar.zst |
* add ThemeProvider to App.web.tsx * make FlatNavigator use themed color * fix extra padding on top in web * add observer to App.web.tsx to make it react to theme changes * fix TS for useColorSchemeStyle * add dark mode toggle button to web LeftNav * fix index.web.tsx border colors for web * Move the darkmode desktop web toggle to the right nav column --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 45dd6579f..e9a631b23 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -130,7 +130,7 @@ export const DesktopLeftNav = observer(function DesktopLeftNav() { const pal = usePalette('default') return ( - <View style={styles.leftNav}> + <View style={[styles.leftNav, pal.view]}> {store.session.hasSession && <ProfileCard />} <BackBtn /> <NavItem @@ -246,6 +246,7 @@ const styles = StyleSheet.create({ paddingHorizontal: 16, backgroundColor: colors.blue3, marginTop: 20, + marginBottom: 10, }, newPostBtnIconWrapper: { marginRight: 8, |