add follow all log
This commit is contained in:
@@ -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`))
|
||||
|
||||
Reference in New Issue
Block a user