1
0
mirror of https://github.com/tooot-app/app synced 2025-01-14 18:36:09 +01:00
This commit is contained in:
xmflsct 2022-12-24 02:13:24 +01:00
parent e27bf7407b
commit 219358cf54

View File

@ -75,7 +75,7 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
/> />
) )
default: default:
if (status) { if (status && Platform.OS !== 'android') {
return ( return (
<Pressable <Pressable
style={{ flex: 1, alignItems: 'center' }} style={{ flex: 1, alignItems: 'center' }}
@ -159,19 +159,17 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
</View> </View>
</View> </View>
{Platform.OS !== 'android' ? ( <View
<View style={[
style={[ { marginLeft: StyleConstants.Spacing.M },
{ marginLeft: StyleConstants.Spacing.M }, notification.type === 'follow' ||
notification.type === 'follow' || notification.type === 'follow_request' ||
notification.type === 'follow_request' || notification.type === 'admin.report'
notification.type === 'admin.report' ? { flexShrink: 1 }
? { flexShrink: 1 } : { flex: 1 }
: { flex: 1 } ]}
]} children={actions()}
children={actions()} />
/>
) : null}
</View> </View>
) )
} }