add follow all log

This commit is contained in:
Hailey
2024-06-16 01:05:02 -07:00
parent 2ab3c039ab
commit 7182812a31
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -155,6 +155,10 @@ export type LogEvents = {
shareType: 'link' | 'qrcode'
qrShareType?: 'save' | 'copy'
}
'starterPack:followAll': {
starterPack: string
followCount: number
}
'test:all:always': {}
'test:all:sometimes': {}
@@ -155,6 +155,10 @@ function Header({
queryKey: RQKEY(starterPack.list.uri),
})
logEvent('starterPack:followAll', {
starterPack: starterPack.uri,
followCount: dids.length,
})
Toast.show(_(msg`All accounts have been followed!`))
} catch (e) {
Toast.show(_(msg`An error occurred while trying to follow all`))