Skip to content

AI Editor button still appears when sharing photos, even with "Hide AI Editor button" enabled #460

@ObjectBoxPC

Description

@ObjectBoxPC

Case 1

  1. In a chat window, tap the attachment (paperclip) icon.
  2. Select an image from the Gallery.
  3. Add a sufficiently long caption.
  4. Observe that the AI icon appears.
Screenshot of Case 1

Case 2

  1. From another app (such as the photo gallery), share an image to Forkgram.
  2. Select a chat (including Saved Messages).
  3. Add a sufficiently long caption.
  4. Observe that the AI icon appears.
Screenshot of 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.java and CaptionPhotoViewer.java (based on a search for showAiButton).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions