allow editing in/out attachments from messages

This commit is contained in:
Henry Hiles 2026-11-02 17:14:06 -05:00
commit e398043a49
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -29,6 +29,8 @@ class AttachmentController(final String roomId)
state = (filename, content);
}
void set((String, MessageContent?)? attachment) => state = attachment;
static final provider = NotifierProvider.family
.autoDispose<AttachmentController, (String, MessageContent?)?, String>(
AttachmentController.new,