From 20887b58153774331f73462390ff5dc8dfb0a0f7 Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 21 Oct 2025 17:26:43 +0200 Subject: [PATCH] misc: fix insets for search room list after offline banner rework --- .../android/features/home/impl/search/RoomListSearchView.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/search/RoomListSearchView.kt b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/search/RoomListSearchView.kt index 05ee11997d..a506ab7176 100644 --- a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/search/RoomListSearchView.kt +++ b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/search/RoomListSearchView.kt @@ -20,7 +20,6 @@ import androidx.compose.foundation.lazy.items import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.MaterialTheme import androidx.compose.material3.TextFieldDefaults -import androidx.compose.material3.TopAppBarDefaults import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.getValue @@ -51,7 +50,6 @@ import io.element.android.libraries.designsystem.theme.components.Icon import io.element.android.libraries.designsystem.theme.components.IconButton import io.element.android.libraries.designsystem.theme.components.Scaffold import io.element.android.libraries.designsystem.theme.components.TopAppBar -import io.element.android.libraries.designsystem.utils.copy import io.element.android.libraries.matrix.api.core.RoomId import io.element.android.libraries.ui.strings.CommonStrings @@ -157,7 +155,6 @@ private fun RoomListSearchContent( focusRequester.saveFocusedChild() } }, - windowInsets = TopAppBarDefaults.windowInsets.copy(top = 0) ) } ) { padding ->