Skip to content

Commit

Permalink
Adding post divider back. (#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Aug 7, 2024
1 parent c29f769 commit 935f260
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package com.jerboa.ui.components.post

import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.ui.Modifier
Expand All @@ -25,6 +28,7 @@ import com.jerboa.feat.default
import com.jerboa.rememberJerboaAppState
import com.jerboa.ui.components.common.RetryLoadingPosts
import com.jerboa.ui.components.common.TriggerWhenReachingEnd
import com.jerboa.ui.theme.SMALL_PADDING
import it.vercruysse.lemmyapi.datatypes.Community
import it.vercruysse.lemmyapi.datatypes.LocalUserVoteDisplayMode
import it.vercruysse.lemmyapi.datatypes.Person
Expand Down Expand Up @@ -139,6 +143,10 @@ fun PostListings(
}
}
}
HorizontalDivider(
modifier = Modifier.padding(vertical = SMALL_PADDING),
color = MaterialTheme.colorScheme.surfaceVariant,
)
}

if (showPostAppendRetry) {
Expand Down

0 comments on commit 935f260

Please sign in to comment.