File tree Expand file tree Collapse file tree
apps/polycentric/src/common/components/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ import {
1313import {
1414 KeyboardAvoidingView ,
1515 Platform ,
16- Pressable ,
16+ // Pressable,
1717 useWindowDimensions ,
1818 View ,
1919} from 'react-native' ;
2020import { useSafeAreaInsets } from 'react-native-safe-area-context' ;
2121
2222import { IdentityFooter } from '@/src/features/core/identity/IdentityFooter' ;
2323import { Ionicons } from '@expo/vector-icons' ;
24- import WEB_LOGO from '../../assets/images/polycentric-logo-blue-256.png' ;
24+ import BLUE_LOGO from '../../assets/images/polycentric-logo-blue-256.png' ;
25+ import WHITE_LOGO from '../../assets/images/polycentric-logo-white-256.png' ;
2526import { FUTO_URL , openCompose } from '../../constants' ;
2627import { useCurrentIdentity } from '../../lib/polycentric-hooks' ;
2728import { Button } from '../primitives' ;
@@ -183,6 +184,7 @@ export const LeftSidebar = memo(function LeftSidebar({
183184 ...props
184185} : LeftSidebarProps ) {
185186 const { width : deviceWidth } = useWindowDimensions ( ) ;
187+ const { theme } = useTheme ( ) ;
186188
187189 const { identity } = useCurrentIdentity ( ) ;
188190
@@ -237,7 +239,7 @@ export const LeftSidebar = memo(function LeftSidebar({
237239 ] }
238240 >
239241 < Image
240- source = { WEB_LOGO }
242+ source = { theme . scheme === 'dark' ? WHITE_LOGO : BLUE_LOGO }
241243 contentFit = "contain"
242244 style = { { width : 30 , height : 30 } }
243245 />
You can’t perform that action at this time.
0 commit comments