mirror of
https://github.com/tooot-app/app
synced 2024-12-27 09:52:41 +01:00
Fix #590
This commit is contained in:
parent
e27bf7407b
commit
219358cf54
@ -75,7 +75,7 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
|
||||
/>
|
||||
)
|
||||
default:
|
||||
if (status) {
|
||||
if (status && Platform.OS !== 'android') {
|
||||
return (
|
||||
<Pressable
|
||||
style={{ flex: 1, alignItems: 'center' }}
|
||||
@ -159,19 +159,17 @@ const TimelineHeaderNotification: React.FC<Props> = ({ notification }) => {
|
||||
</View>
|
||||
</View>
|
||||
|
||||
{Platform.OS !== 'android' ? (
|
||||
<View
|
||||
style={[
|
||||
{ marginLeft: StyleConstants.Spacing.M },
|
||||
notification.type === 'follow' ||
|
||||
notification.type === 'follow_request' ||
|
||||
notification.type === 'admin.report'
|
||||
? { flexShrink: 1 }
|
||||
: { flex: 1 }
|
||||
]}
|
||||
children={actions()}
|
||||
/>
|
||||
) : null}
|
||||
<View
|
||||
style={[
|
||||
{ marginLeft: StyleConstants.Spacing.M },
|
||||
notification.type === 'follow' ||
|
||||
notification.type === 'follow_request' ||
|
||||
notification.type === 'admin.report'
|
||||
? { flexShrink: 1 }
|
||||
: { flex: 1 }
|
||||
]}
|
||||
children={actions()}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user