Skip to content

Commit

Permalink
fix lifecycle callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick committed Mar 13, 2024
1 parent 3dd4e1f commit 05c62ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal class RadarActivityLifecycleCallbacks(
if (updated) {
val usage = "resume"
Radar.apiClient.getConfig(usage, false, object : RadarApiClient.RadarGetConfigApiCallback {
override fun onComplete(config: RadarConfig) {
override fun onComplete(status: Radar.RadarStatus, config: RadarConfig) {
Radar.locationManager.updateTrackingFromMeta(config.meta)
RadarSettings.setFeatureSettings(activity.applicationContext, config.meta.featureSettings)
}
Expand Down

0 comments on commit 05c62ed

Please sign in to comment.