build: Update matrix dart sdk
This commit is contained in:
parent
4291396f98
commit
fb54548e5c
5 changed files with 11 additions and 10 deletions
|
|
@ -127,11 +127,12 @@ class UserBottomSheetController extends State<UserBottomSheet> {
|
|||
textFields: [DialogTextField(hintText: L10n.of(context)!.reason)],
|
||||
);
|
||||
if (reason == null || reason.single.isEmpty) return;
|
||||
|
||||
final result = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => Matrix.of(widget.outerContext).client.reportContent(
|
||||
user.roomId!,
|
||||
user.eventId,
|
||||
user.room.id,
|
||||
user.id,
|
||||
reason: reason.single,
|
||||
score: score,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue