mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Navigate follow push to account page
This commit is contained in:
@ -23,6 +23,20 @@ const pushUseNavigate = (id?: Mastodon.Notification['id']) => {
|
||||
params: { toot: body.status }
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
if (body.type === 'follow' || body.type === 'follow_request') {
|
||||
if (body.account) {
|
||||
navigationRef.navigate('Screen-Tabs', {
|
||||
screen: 'Tab-Notifications',
|
||||
params: {
|
||||
screen: 'Tab-Shared-Account',
|
||||
params: { account: body.account }
|
||||
}
|
||||
})
|
||||
return
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user