forked from github/wulkanowy-mirror
Add Firebase Analytics for the loaded lucky number (#233)
This commit is contained in:
parent
79093ca6f2
commit
2f87779647
@ -45,7 +45,7 @@ class LuckyNumberPresenter @Inject constructor(
|
|||||||
showContent(true)
|
showContent(true)
|
||||||
showEmpty(false)
|
showEmpty(false)
|
||||||
}
|
}
|
||||||
analytics.logEvent("load_lucky_number", mapOf("force_refresh" to forceRefresh))
|
analytics.logEvent("load_lucky_number", mapOf("lucky_number" to it.luckyNumber, "force_refresh" to forceRefresh))
|
||||||
}, {
|
}, {
|
||||||
view?.run { showEmpty(isViewEmpty()) }
|
view?.run { showEmpty(isViewEmpty()) }
|
||||||
errorHandler.dispatch(it)
|
errorHandler.dispatch(it)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user