File tree Expand file tree Collapse file tree
packages/mobile/src/screens/app-screen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { ReactNode } from 'react'
22import { useCallback , useContext } from 'react'
33
4- import { View } from 'react-native'
4+ import { Platform , View } from 'react-native'
55import { useSafeAreaInsets } from 'react-native-safe-area-context'
66
77import { IconAudiusLogoHorizontal } from '@audius/harmony-native'
@@ -76,9 +76,11 @@ export const MobileRootHeader = (props: MobileRootHeaderProps) => {
7676
7777 return (
7878 < View style = { styles . container } >
79- < View style = { styles . logoContainer } >
80- < IconAudiusLogoHorizontal height = { 25 } width = { 120 } color = 'subdued' />
81- </ View >
79+ { Platform . OS === 'ios' ? (
80+ < View style = { styles . logoContainer } >
81+ < IconAudiusLogoHorizontal height = { 25 } width = { 120 } color = 'subdued' />
82+ </ View >
83+ ) : null }
8284 < View style = { [ styles . row , { marginTop : insets . top } ] } >
8385 < AccountPictureHeader onPress = { handleOpenLeftNavDrawer } />
8486 < View style = { styles . titleContainer } >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import type {
77 NativeStackNavigationProp
88} from '@react-navigation/native-stack'
99import { CardStyleInterpolators } from '@react-navigation/stack'
10- import { Text , View } from 'react-native'
10+ import { Platform , Text , View } from 'react-native'
1111
1212import {
1313 IconAudiusLogoHorizontal ,
@@ -124,6 +124,7 @@ export const useAppScreenOptions = <
124124 </ Text >
125125 )
126126 }
127+ if ( Platform . OS === 'android' ) return null
127128 return (
128129 < View >
129130 < IconAudiusLogoHorizontal
You can’t perform that action at this time.
0 commit comments