Merge remote-tracking branch 'origin/feature/image-detail' into feature/image-detail
This commit is contained in:
@@ -246,8 +246,6 @@ class _ImageFooterState extends State<ImageFooter> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildShareModal(context) {
|
Widget _buildShareModal(context) {
|
||||||
final channel = StreamChannel.of(context).channel;
|
|
||||||
|
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
@@ -613,19 +611,12 @@ class _ImageFooterState extends State<ImageFooter> {
|
|||||||
|
|
||||||
await c.create();
|
await c.create();
|
||||||
|
|
||||||
Future sendingFuture;
|
final message = Message(
|
||||||
Message message;
|
|
||||||
|
|
||||||
message = (Message()).copyWith(
|
|
||||||
text: text,
|
text: text,
|
||||||
attachments: [attachments[widget.currentPage]],
|
attachments: [attachments[widget.currentPage]],
|
||||||
mentionedUsers: [],
|
|
||||||
showInChannel: false,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
sendingFuture = c.sendMessage(message);
|
await c.sendMessage(message);
|
||||||
|
|
||||||
await sendingFuture;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_selectedUsers.clear();
|
_selectedUsers.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user