Skip to content
Snippets Groups Projects
Verified Commit fefdce2f authored by Mikolai Gütschow's avatar Mikolai Gütschow
Browse files

grey background for light theme

parent e8030670
No related tags found
1 merge request!366Add support for HTML blog posts
Pipeline #15432 passed
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
package org.briarproject.briar.desktop.blog package org.briarproject.briar.desktop.blog
import androidx.compose.foundation.VerticalScrollbar import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxSize
...@@ -30,6 +31,7 @@ import androidx.compose.foundation.lazy.items ...@@ -30,6 +31,7 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.foundation.rememberScrollbarAdapter import androidx.compose.foundation.rememberScrollbarAdapter
import androidx.compose.foundation.selection.selectableGroup import androidx.compose.foundation.selection.selectableGroup
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Alignment.Companion.CenterEnd import androidx.compose.ui.Alignment.Companion.CenterEnd
...@@ -39,6 +41,7 @@ import kotlinx.coroutines.delay ...@@ -39,6 +41,7 @@ import kotlinx.coroutines.delay
import org.briarproject.bramble.api.sync.GroupId import org.briarproject.bramble.api.sync.GroupId
import org.briarproject.bramble.api.sync.MessageId import org.briarproject.bramble.api.sync.MessageId
import org.briarproject.briar.desktop.conversation.reallyVisibleItemsInfo 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.Constants.HEADER_SIZE
import org.briarproject.briar.desktop.ui.UnreadFabs import org.briarproject.briar.desktop.ui.UnreadFabs
import org.briarproject.briar.desktop.ui.UnreadFabsInfo import org.briarproject.briar.desktop.ui.UnreadFabsInfo
...@@ -90,7 +93,7 @@ fun FeedScreen( ...@@ -90,7 +93,7 @@ fun FeedScreen(
Box(modifier = modifier.fillMaxSize()) { Box(modifier = modifier.fillMaxSize()) {
LazyColumn( LazyColumn(
state = scrollState, state = scrollState,
modifier = Modifier.padding(end = 8.dp).selectableGroup() modifier = Modifier.padding(end = 8.dp).background(MaterialTheme.colors.surfaceVariant).selectableGroup()
) { ) {
items( items(
items = posts, items = posts,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment