Skip to content

Commit

Permalink
do not add border if keyboard is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
saleniuk committed Dec 19, 2024
1 parent 18046aa commit d97fcda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ fun EnabledMessageComposer(
) {
val rippleColor = colorsScheme().surfaceContainerLowest
val borderColor = colorsScheme().divider
val borderWidthPx = dimensions().spacing1x.toPx(density)
val borderWidthPx = if (isImeVisible) 0f else dimensions().spacing1x.toPx(density)
val cornerRadiusPx = if (isImeVisible) 0f else dimensions().corner14x.toPx(density)
val shape = GenericShape { size, _ ->
addPath(calculateOptionsPath(cornerRadiusPx, rippleProgress.value, isImeVisible, size))
Expand Down

0 comments on commit d97fcda

Please sign in to comment.