diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/ScTimelineItemExtensions.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/ScTimelineItemExtensions.kt index 7fdc344874..584ff7cd8a 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/ScTimelineItemExtensions.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/ScTimelineItemExtensions.kt @@ -2,8 +2,6 @@ package io.element.android.features.messages.impl.timeline.components.event import androidx.compose.runtime.Composable import androidx.compose.ui.unit.Dp -import chat.schildi.lib.preferences.ScPrefs -import chat.schildi.lib.preferences.value @Composable -fun scLayoutDpUnspecified() = if (ScPrefs.SC_TIMELINE_LAYOUT.value()) Dp.Unspecified else null +fun scLayoutDpUnspecified() = Dp.Unspecified // This fix seems to be necessary on both SC and EleX layouts, but not on upstream EleX though?