Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Fixup breaking changes from AppServices upgrade to 93.0.1 #24669

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class NimbusMessagingStorage(
val nimbusActions = nimbusFeature.actions

val nimbusMessages = nimbusFeature.messages
val defaultStyle = StyleData(context)
val defaultStyle = StyleData()
val storageMetadata = metadataStorage.getMetadata()

return nimbusMessages.mapNotNull { (key, value) ->
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/org/mozilla/fenix/utils/Settings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
*/
var searchTermTabGroupsAreEnabled by lazyFeatureFlagPreference(
appContext.getPreferenceKey(R.string.pref_key_search_term_tab_groups),
default = { FxNimbus.features.searchTermGroups.value(appContext).enabled },
default = { FxNimbus.features.searchTermGroups.value().enabled },
featureFlag = FeatureFlags.tabGroupFeature
)

Expand Down Expand Up @@ -1209,7 +1209,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
)

private val homescreenSections: Map<HomeScreenSection, Boolean> by lazy {
FxNimbus.features.homescreen.value(appContext).sectionsEnabled
FxNimbus.features.homescreen.value().sectionsEnabled
}

var historyMetadataUIFeature by lazyFeatureFlagPreference(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class DefaultMessageControllerTest {
verify { store.dispatch(MessageDisplayed(message)) }
}

private fun mockMessage(data: MessageData = MessageData(_context = testContext)) = Message(
private fun mockMessage(data: MessageData = MessageData()) = Message(
id = "id",
data = data,
style = mockk(relaxed = true),
Expand Down