mirror of
https://github.com/tooot-app/app
synced 2025-02-08 16:08:44 +01:00
Navigate follow push to account page
This commit is contained in:
parent
768a27d37c
commit
7a5464e38a
@ -23,6 +23,20 @@ const pushUseNavigate = (id?: Mastodon.Notification['id']) => {
|
|||||||
params: { toot: body.status }
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user