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 d97fcda commit ad7b5a1
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,15 @@ fun EnabledMessageComposer(
color = rippleColor,
style = Fill
)
drawPath(
path = path,
color = borderColor,
style = Stroke(
width = borderWidthPx * 2f // double to make it inner stroke, outer half is clipped anyway
if (borderWidthPx > 0f) {
drawPath(
path = path,
color = borderColor,
style = Stroke(
width = borderWidthPx * 2f // double to make it inner stroke, outer half is clipped anyway
)
)
)
}
}
}

Expand Down

0 comments on commit ad7b5a1

Please sign in to comment.