Case 1
- In a chat window, tap the attachment (paperclip) icon.
- Select an image from the Gallery.
- Add a sufficiently long caption.
- Observe that the AI icon appears.
Case 2
- From another app (such as the photo gallery), share an image to Forkgram.
- Select a chat (including Saved Messages).
- Add a sufficiently long caption.
- Observe that the AI icon appears.
Analysis
I believe this is because the change that introduced the "Hide AI Editor button" option (1da1c11) did not account for other components where this button appears, namely ChatAttachAlert.java and CaptionPhotoViewer.java (based on a search for showAiButton).
Case 1
Case 2
Analysis
I believe this is because the change that introduced the "Hide AI Editor button" option (1da1c11) did not account for other components where this button appears, namely
ChatAttachAlert.javaandCaptionPhotoViewer.java(based on a search forshowAiButton).