TP-50620 | Analytics Added (#8907)
This commit is contained in:
committed by
GitHub
parent
e2f9c475c1
commit
070fa4d956
@@ -1289,6 +1289,10 @@ class NaviPayAnalytics private constructor() {
|
||||
mapOf("monthsSelected" to activeMonths.toString())
|
||||
)
|
||||
}
|
||||
|
||||
fun onTransactionHistoryRefreshed() {
|
||||
NaviTrackEvent.trackEventOnClickStream("NaviPay_TransactionHistory_Refreshed")
|
||||
}
|
||||
}
|
||||
|
||||
inner class NaviPayTransactionDetails {
|
||||
|
||||
@@ -200,6 +200,7 @@ class TransactionHistoryViewModel @Inject constructor(
|
||||
}
|
||||
|
||||
fun refreshTransactionHistory() {
|
||||
naviPayAnalytics.onTransactionHistoryRefreshed()
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
updateRefreshState(true)
|
||||
syncTransactionHistoryUseCase.execute()
|
||||
|
||||
Reference in New Issue
Block a user