allow editing in/out attachments from messages
This commit is contained in:
parent
e9b009d1b9
commit
e398043a49
1 changed files with 71 additions and 20 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue