Skip to content

Commit

Permalink
added more colors to material you palette by #847
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Mar 4, 2024
1 parent b7408fd commit b551af2
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.platform.LocalContext
Expand Down Expand Up @@ -152,8 +153,13 @@ internal fun GeneratePaletteScreenControls(
Spacer(modifier = Modifier.width(16.dp))
Picture(
model = bitmap,
modifier = Modifier.size(56.dp),
shape = SmallMaterialStarShape
shape = RectangleShape,
modifier = Modifier
.size(56.dp)
.container(
shape = SmallMaterialStarShape,
resultPadding = 0.dp
)
)
}
Spacer(modifier = Modifier.height(16.dp))
Expand Down

0 comments on commit b551af2

Please sign in to comment.