Fixes #5653: Removes crash with null campaign
parent
64923978e6
commit
a38b73f19e
|
@ -35,7 +35,9 @@ class AdjustMetricsService(private val application: Application) : MetricsServic
|
|||
)
|
||||
|
||||
config.setOnAttributionChangedListener {
|
||||
application.settings().adjustCampaignId = it.campaign
|
||||
it.campaign?.let { campaign ->
|
||||
application.settings().adjustCampaignId = campaign
|
||||
}
|
||||
}
|
||||
|
||||
config.setLogLevel(LogLevel.SUPRESS)
|
||||
|
|
Loading…
Reference in New Issue