Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Desktop
Commits
fefdce2f
Verified
Commit
fefdce2f
authored
1 year ago
by
Mikolai Gütschow
Browse files
Options
Downloads
Patches
Plain Diff
grey background for light theme
parent
e8030670
Branches
381-windows-notifications
No related tags found
1 merge request
!366
Add support for HTML blog posts
Pipeline
#15432
passed
1 year ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt
+4
-1
4 additions, 1 deletion
.../kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt
with
4 additions
and
1 deletion
briar-desktop/src/main/kotlin/org/briarproject/briar/desktop/blog/FeedScreen.kt
+
4
−
1
View file @
fefdce2f
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment