mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-19 10:39:26 +01:00
Clean up
This commit is contained in:
parent
e13df1cbf0
commit
740a9a2a64
@ -52,10 +52,8 @@ class ChatListItem extends StatelessWidget {
|
||||
child: Text(I18n.of(context).delete.toUpperCase(),
|
||||
style: TextStyle(color: Colors.red)),
|
||||
onPressed: () async {
|
||||
await Matrix.of(context)
|
||||
.tryRequestWithLoadingDialog(room.forget());
|
||||
await archiveAction(context);
|
||||
await Navigator.of(context).pop();
|
||||
if (this.onForget != null) this.onForget();
|
||||
},
|
||||
),
|
||||
FlatButton(
|
||||
|
Loading…
Reference in New Issue
Block a user