Skip to content

Commit

Permalink
Fix cluster view content color
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPushkin committed Nov 14, 2023
1 parent 5ddcc10 commit a928b91
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ private fun RoomMarkersCluster(markerIds: List<String>, modifier: Modifier = Mod
)
.then(modifier),
shape = MaterialTheme.shapes.small,
color = MaterialTheme.colorScheme.onBackground
color = MaterialTheme.colorScheme.onBackground,
contentColor = MaterialTheme.colorScheme.background
) {
Box(contentAlignment = Alignment.Center) {
Text(
Expand All @@ -108,7 +109,8 @@ private fun NonRoomMarkersCluster(painter: Painter, modifier: Modifier = Modifie
)
.then(modifier),
shape = MaterialTheme.shapes.extraSmall,
color = MaterialTheme.colorScheme.onBackground
color = MaterialTheme.colorScheme.onBackground,
contentColor = MaterialTheme.colorScheme.background
) {
Box(contentAlignment = Alignment.Center) {
Icon(
Expand Down

0 comments on commit a928b91

Please sign in to comment.