1
0
Fork 0

Fixes #6344: Adds null check for adjust campaign (#6348)

master
Sawyer Blatz 2019-10-30 10:13:03 -07:00 committed by GitHub
parent 104e3ad0a3
commit fd22c43f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ class AdjustMetricsService(private val application: Application) : MetricsServic
)
config.setOnAttributionChangedListener {
application.applicationContext.settings().adjustCampaignId = it.campaign
it.campaign?.let { campaign ->
application.applicationContext.settings().adjustCampaignId = campaign
}
}
config.setLogLevel(LogLevel.SUPRESS)