Skip to content

Commit

Permalink
Bug 1861234 — Add SharedPreferences to NimbusBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
jhugman authored and mergify[bot] committed Nov 3, 2023
1 parent 73ccf89 commit 145c816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ fun createNimbus(context: Context, urlString: String?): NimbusApi {
initialExperiments = R.raw.initial_experiments
timeoutLoadingExperiment = TIME_OUT_LOADING_EXPERIMENT_FROM_DISK_MS
usePreviewCollection = context.settings().nimbusUsePreview
sharedPreferences = context.settings().preferences
isFirstRun = isAppFirstRun
featureManifest = FxNimbus
onFetchCallback = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ fun createNimbus(context: Context, urlString: String?): NimbusApi {
initialExperiments = R.raw.initial_experiments
timeoutLoadingExperiment = TIME_OUT_LOADING_EXPERIMENT_FROM_DISK_MS
usePreviewCollection = context.settings.shouldUseNimbusPreview
sharedPreferences = context.settings.preferences
isFirstRun = isAppFirstRun
featureManifest = FocusNimbus
}.build(appInfo)
Expand Down

0 comments on commit 145c816

Please sign in to comment.