mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2024-11-23 19:16:07 -06:00
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)
|
||||
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()) }
|
||||
errorHandler.dispatch(it)
|
||||
|
Loading…
Reference in New Issue
Block a user