diff --git a/libraries/preferences/test/src/main/kotlin/io/element/android/libraries/preferences/test/InMemoryAppPreferencesStore.kt b/libraries/preferences/test/src/main/kotlin/io/element/android/libraries/preferences/test/InMemoryAppPreferencesStore.kt index f57a7d4578..ab3913cd08 100644 --- a/libraries/preferences/test/src/main/kotlin/io/element/android/libraries/preferences/test/InMemoryAppPreferencesStore.kt +++ b/libraries/preferences/test/src/main/kotlin/io/element/android/libraries/preferences/test/InMemoryAppPreferencesStore.kt @@ -18,7 +18,6 @@ class InMemoryAppPreferencesStore( hideImagesAndVideos: Boolean = false, customElementCallBaseUrl: String? = null, theme: String? = null, - simplifiedSlidingSyncEnabled: Boolean = false, logLevel: LogLevel = LogLevel.INFO, traceLockPacks: Set = emptySet(), ) : AppPreferencesStore { @@ -26,7 +25,6 @@ class InMemoryAppPreferencesStore( private val hideImagesAndVideos = MutableStateFlow(hideImagesAndVideos) private val customElementCallBaseUrl = MutableStateFlow(customElementCallBaseUrl) private val theme = MutableStateFlow(theme) - private val simplifiedSlidingSyncEnabled = MutableStateFlow(simplifiedSlidingSyncEnabled) private val logLevel = MutableStateFlow(logLevel) private val tracingLogPacks = MutableStateFlow(traceLockPacks) @@ -70,8 +68,8 @@ class InMemoryAppPreferencesStore( return logLevel } - override suspend fun setTracingLogPacks(logPacks: Set) { - tracingLogPacks.value = logPacks + override suspend fun setTracingLogPacks(targets: Set) { + tracingLogPacks.value = targets } override fun getTracingLogPacksFlow(): Flow> {