add follow all log
This commit is contained in:
@@ -155,6 +155,10 @@ export type LogEvents = {
|
|||||||
shareType: 'link' | 'qrcode'
|
shareType: 'link' | 'qrcode'
|
||||||
qrShareType?: 'save' | 'copy'
|
qrShareType?: 'save' | 'copy'
|
||||||
}
|
}
|
||||||
|
'starterPack:followAll': {
|
||||||
|
starterPack: string
|
||||||
|
followCount: number
|
||||||
|
}
|
||||||
|
|
||||||
'test:all:always': {}
|
'test:all:always': {}
|
||||||
'test:all:sometimes': {}
|
'test:all:sometimes': {}
|
||||||
|
|||||||
@@ -155,6 +155,10 @@ function Header({
|
|||||||
queryKey: RQKEY(starterPack.list.uri),
|
queryKey: RQKEY(starterPack.list.uri),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
logEvent('starterPack:followAll', {
|
||||||
|
starterPack: starterPack.uri,
|
||||||
|
followCount: dids.length,
|
||||||
|
})
|
||||||
Toast.show(_(msg`All accounts have been followed!`))
|
Toast.show(_(msg`All accounts have been followed!`))
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Toast.show(_(msg`An error occurred while trying to follow all`))
|
Toast.show(_(msg`An error occurred while trying to follow all`))
|
||||||
|
|||||||
Reference in New Issue
Block a user