feat: Space settings route
This commit is contained in:
parent
04ce6768ce
commit
eb8716a144
3 changed files with 19 additions and 4 deletions
|
|
@ -57,9 +57,10 @@ class ChatListController extends State<ChatList> {
|
|||
setState(() => _activeSpaceId = spaceId);
|
||||
}
|
||||
|
||||
void editSpace(BuildContext context, String spaceId) {
|
||||
void editSpace(BuildContext context, String spaceId) async {
|
||||
Scaffold.of(context).openEndDrawer();
|
||||
VRouter.of(context).to('/rooms/$spaceId');
|
||||
await Matrix.of(context).client.getRoomById(spaceId).postLoad();
|
||||
VRouter.of(context).to('/spaces/$spaceId');
|
||||
}
|
||||
|
||||
List<Room> get spaces =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue