Describe the Bug
The agent name and time on an image get a gradient layer, so that the text is visible nonetheless of the background. The bug is that the gradient is not extended when the font size is bigger, or that the agent name is longer. The time label is by default not extended under the label. See screenshot in the pull request
To Reproduce
Make an agent post a white image, and make sure the text is styled is white
Expected behaviour
The gradients layer is as big or bigger than the agent name label and time label
Screenshots
Normal font, time label at the right bottom is not visible
Extra large font size, time label at the right bottom is not visible
Describe the Bug The agent name and time on an image get a gradient layer, so that the text is visible nonetheless of the background. The bug is that the gradient is not extended when the font size is bigger, or that the agent name is longer. The time label is by default not extended under the label. See screenshot in the pull request
To Reproduce Make an agent post a white image, and make sure the text is styled is white
Expected behaviour The gradients layer is as big or bigger than the agent name label and time label
Screenshots Normal font, time label at the right bottom is not visible
Extra large font size, time label at the right bottom is not visible
![testWithWhiteImageResultForAgentWithoutTitleAndMessage 2](https://github.com/parley-messaging/ios-library/assets/2762698/c94d5a3f-b0da-47f2-9cd8-1d3918d15d26)