parley-messaging / ios-library

Parley iOS app library
MIT License
2 stars 2 forks source link

Make it possible to specify rounding for corners for image #84

Closed mat1th closed 1 month ago

mat1th commented 2 months ago

I would like to have rounded on some edges of a image not all. This was not possible with the current options of the SDK. I've implemented this in this pr.

With the following config:

appearance.userMessage.imageCorners = [.topLeft, .topRight, .bottomLeft]
appearance.agentMessage.imageCorners = [.topLeft, .topRight, .bottomRight] 

You will have the following style: preview

alexkok commented 1 month ago

Released in 4.1.0 :rocket: