This commit is contained in:
xmflsct 2022-12-24 02:13:24 +01:00
parent e27bf7407b
commit 219358cf54
1 changed files with 12 additions and 14 deletions

View File

@ -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>
)
}