From fefdce2f90c7f3c22cbf70d5855ca743d3b7bfbb Mon Sep 17 00:00:00 2001 From: ialokim <ialokim@mailbox.org> Date: Thu, 31 Aug 2023 14:26:40 +0200 Subject: [PATCH] grey background for light theme --- .../kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt index 3f31754e60..3247edb49b 100644 --- a/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt +++ b/briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt @@ -19,6 +19,7 @@ package org.briarproject.briar.desktop.blog import androidx.compose.foundation.VerticalScrollbar +import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxSize @@ -30,6 +31,7 @@ import androidx.compose.foundation.lazy.items import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.foundation.rememberScrollbarAdapter import androidx.compose.foundation.selection.selectableGroup +import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.ui.Alignment.Companion.CenterEnd @@ -39,6 +41,7 @@ import kotlinx.coroutines.delay import org.briarproject.bramble.api.sync.GroupId import org.briarproject.bramble.api.sync.MessageId import org.briarproject.briar.desktop.conversation.reallyVisibleItemsInfo +import org.briarproject.briar.desktop.theme.surfaceVariant import org.briarproject.briar.desktop.ui.Constants.HEADER_SIZE import org.briarproject.briar.desktop.ui.UnreadFabs import org.briarproject.briar.desktop.ui.UnreadFabsInfo @@ -90,7 +93,7 @@ fun FeedScreen( Box(modifier = modifier.fillMaxSize()) { LazyColumn( state = scrollState, - modifier = Modifier.padding(end = 8.dp).selectableGroup() + modifier = Modifier.padding(end = 8.dp).background(MaterialTheme.colors.surfaceVariant).selectableGroup() ) { items( items = posts, -- GitLab