call context.go to rooms when clearing active space (#1093)
This commit is contained in:
parent
4c9cd60e95
commit
472f924304
2 changed files with 12 additions and 4 deletions
|
|
@ -127,9 +127,17 @@ class ChatListController extends State<ChatList>
|
|||
// Pangea#
|
||||
}
|
||||
|
||||
void clearActiveSpace() => setState(() {
|
||||
_activeSpaceId = null;
|
||||
});
|
||||
// #Pangea
|
||||
// void clearActiveSpace() => setState(() {
|
||||
// _activeSpaceId = null;
|
||||
// });
|
||||
void clearActiveSpace() {
|
||||
setState(() {
|
||||
_activeSpaceId = null;
|
||||
});
|
||||
context.go("/rooms");
|
||||
}
|
||||
// Pangea#
|
||||
|
||||
void onChatTap(Room room) async {
|
||||
if (room.membership == Membership.invite) {
|
||||
|
|
|
|||
|
|
@ -1481,7 +1481,7 @@ packages:
|
|||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "59895c358743fa23d8b52a61a8ec9755139951f8"
|
||||
resolved-ref: cbba79b42dba2a6f5b17880a95906a2602b9a0ff
|
||||
url: "https://github.com/pangeachat/matrix-dart-sdk.git"
|
||||
source: git
|
||||
version: "0.32.4"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue