Skip to content

Commit

Permalink
Fix note zap list item background color
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarIlic committed Apr 24, 2024
1 parent 00bead3 commit 8d2e7a8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.ListItem
import androidx.compose.material3.ListItemDefaults
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -99,6 +100,9 @@ private fun NoteZapListItem(data: NoteZapUiModel, onProfileClick: (profileId: St
Column {
ListItem(
modifier = Modifier.clickable { onProfileClick(data.zapperId) },
colors = ListItemDefaults.colors(
containerColor = AppTheme.colorScheme.surfaceVariant,
),
leadingContent = {
AvatarThumbnail(
avatarCdnImage = data.zapperAvatarCdnImage,
Expand Down

0 comments on commit 8d2e7a8

Please sign in to comment.