Skip to content

Commit 11f8f05

Browse files
authored
Drop audius logo from android app (#13878)
1 parent e720f68 commit 11f8f05

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

packages/mobile/src/screens/app-screen/MobileRootHeader.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ReactNode } from 'react'
22
import { useCallback, useContext } from 'react'
33

4-
import { View } from 'react-native'
4+
import { Platform, View } from 'react-native'
55
import { useSafeAreaInsets } from 'react-native-safe-area-context'
66

77
import { 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}>

packages/mobile/src/screens/app-screen/useAppScreenOptions.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type {
77
NativeStackNavigationProp
88
} from '@react-navigation/native-stack'
99
import { CardStyleInterpolators } from '@react-navigation/stack'
10-
import { Text, View } from 'react-native'
10+
import { Platform, Text, View } from 'react-native'
1111

1212
import {
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

0 commit comments

Comments
 (0)