⚡ Improve attachments queue performance
This commit is contained in:
@ -115,10 +115,10 @@ class PostEditorController extends GetxController {
|
||||
builder: (context) => AttachmentEditorPopup(
|
||||
usage: 'i.attachment',
|
||||
initialAttachments: attachments,
|
||||
onAdd: (value) {
|
||||
onAdd: (int value) {
|
||||
attachments.add(value);
|
||||
},
|
||||
onRemove: (value) {
|
||||
onRemove: (int value) {
|
||||
attachments.remove(value);
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user