mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/6344: Adds null check for adjust campaign (https://github.com/mozilla-mobile/fenix/pull/6348)
This commit is contained in:
parent
3d3e3d3a2e
commit
3aa5901ddf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user