mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-03-03 22:20:41 +01:00
Merge branch 'soru/navigate-to-room' into 'main'
fix: navigate to /rooms when switching bundle Closes #566 See merge request famedly/fluffychat!527
This commit is contained in:
commit
c36b48302c
@ -419,7 +419,9 @@ class ChatListController extends State<ChatList> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void setActiveBundle(String bundle) => setState(() {
|
void setActiveBundle(String bundle) {
|
||||||
|
VRouter.of(context).to('/rooms');
|
||||||
|
setState(() {
|
||||||
_activeSpaceId = null;
|
_activeSpaceId = null;
|
||||||
selectedRoomIds.clear();
|
selectedRoomIds.clear();
|
||||||
Matrix.of(context).activeBundle = bundle;
|
Matrix.of(context).activeBundle = bundle;
|
||||||
@ -430,6 +432,7 @@ class ChatListController extends State<ChatList> {
|
|||||||
.setActiveClient(Matrix.of(context).currentBundle.first);
|
.setActiveClient(Matrix.of(context).currentBundle.first);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void editBundlesForAccount(String userId) async {
|
void editBundlesForAccount(String userId) async {
|
||||||
final client = Matrix.of(context)
|
final client = Matrix.of(context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user