Merge branch 'soru/navigate-to-room' into 'main'

fix: navigate to /rooms when switching bundle

Closes #566

See merge request famedly/fluffychat!527
onboarding
Krille Fear 4 years ago
commit 6940a69959

@ -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;
selectedRoomIds.clear();
Matrix.of(context).activeBundle = bundle;
@ -430,6 +432,7 @@ class ChatListController extends State<ChatList> {
.setActiveClient(Matrix.of(context).currentBundle.first);
}
});
}
void editBundlesForAccount(String userId) async {
final client = Matrix.of(context)

Loading…
Cancel
Save