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

Now it should finally fix #451

This commit is contained in:
xmflsct
2022-11-22 21:39:25 +01:00
parent 39bda959e3
commit a631966952
7 changed files with 131 additions and 150 deletions

View File

@ -131,6 +131,9 @@ const contextMenuAccount = ({ actions, type, queryKey, rootQueryKey, id: account
}
return (index: number) => {
if (typeof index !== 'number' || !actions[index]) {
return // For Android
}
if (actions[index].id === 'account-mute') {
analytics('timeline_shared_headeractions_account_mute_press', {
page: queryKey && queryKey[1].page