Forget rooms with slide
This commit is contained in:
parent
be8f3a4a47
commit
e13df1cbf0
2 changed files with 16 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class _ArchiveState extends State<Archive> {
|
|||
itemCount: archive.length,
|
||||
itemBuilder: (BuildContext context, int i) => ChatListItem(
|
||||
archive[i],
|
||||
onForget: () => setState(() => archive = null)),
|
||||
onForget: () => setState(() => archive.removeAt(i))),
|
||||
);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue