1
0
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:
Kacper Ziubryniewicz 2019-02-05 18:18:49 +01:00 committed by Mikołaj Pich
parent 79093ca6f2
commit 2f87779647

View File

@ -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)