1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Push add more types

This commit is contained in:
Zhiyuan Zheng
2022-05-29 01:57:15 +02:00
parent 242b11761b
commit 6b4c2d18ec
7 changed files with 48 additions and 4 deletions

View File

@ -73,12 +73,22 @@ const TabMePush: React.FC = () => {
const alerts = useMemo(() => {
return instancePush?.alerts
? (
['follow', 'favourite', 'reblog', 'mention', 'poll'] as [
[
'follow',
'follow_request',
'favourite',
'reblog',
'mention',
'poll'
'poll',
'status'
] as [
'follow',
'follow_request',
'favourite',
'reblog',
'mention',
'poll',
'status'
]
).map(alert => (
<MenuRow