Skip to content

Commit 1b32897

Browse files
committed
fix: adjust toast color
1 parent 1fc996d commit 1b32897

File tree

1 file changed

+1
-1
lines changed
  • library/src/main/java/com/aliernfrog/toptoast/component

1 file changed

+1
-1
lines changed

library/src/main/java/com/aliernfrog/toptoast/component/TopToast.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fun TopToast(
4444
.padding(TopToastElevation+1.4.dp) // avoid shadow getting cropped
4545
.shadow(TopToastElevation, TopToastShape)
4646
.clip(TopToastShape)
47-
.background(MaterialTheme.colorScheme.surfaceColorAtElevation(2.dp))
47+
.background(MaterialTheme.colorScheme.surfaceColorAtElevation(1.dp))
4848
.animateContentSize()
4949
.run { onClick?.let {
5050
clickable(

0 commit comments

Comments
 (0)