feat: Add remove rooms to and from spaces
This commit is contained in:
parent
c13e17afeb
commit
1d629ae79a
3 changed files with 62 additions and 0 deletions
|
|
@ -50,6 +50,13 @@ class ChatListView extends StatelessWidget {
|
|||
? null
|
||||
: selectMode == SelectMode.select
|
||||
? [
|
||||
if (controller.selectedRoomIds.length == 1 &&
|
||||
controller.spaces.isNotEmpty)
|
||||
IconButton(
|
||||
tooltip: L10n.of(context).addToSpace,
|
||||
icon: Icon(Icons.group_work_outlined),
|
||||
onPressed: controller.addOrRemoveToSpace,
|
||||
),
|
||||
if (controller.selectedRoomIds.length == 1)
|
||||
IconButton(
|
||||
tooltip: L10n.of(context).toggleUnread,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue