[Async Attachment Upload] Initial implementation

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-02-16 21:21:15 +05:30
parent 628542f99b
commit 0a6948cf32
54 changed files with 2561 additions and 1328 deletions
@@ -105,10 +105,9 @@ class ImageActionsModal extends StatelessWidget {
() {
Navigator.pop(context);
Navigator.pop(context);
StreamChat.of(context).client.deleteMessage(
message,
StreamChannel.of(context).channel.cid,
);
StreamChannel.of(context)
.channel
.deleteMessage(message);
},
color: StreamChatTheme.of(context).colorTheme.accentRed,
),