mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fixed #19
This commit is contained in:
@ -90,7 +90,7 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
|
||||
url: `announcements`
|
||||
})
|
||||
.then(res => {
|
||||
if (res?.filter(announcement => !announcement.read).length) {
|
||||
if (res.body.filter(announcement => !announcement.read).length) {
|
||||
navigationRef.current?.navigate('Screen-Announcements', {
|
||||
showAll: false
|
||||
})
|
||||
|
Reference in New Issue
Block a user