From 7734ffa61d6100edc757e755a8b27792f3af9d5d Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 18 Sep 2021 13:54:15 +0200 Subject: [PATCH] fix: Crash when switching in a space --- lib/pages/chat_list.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/chat_list.dart b/lib/pages/chat_list.dart index 413613a4..d962e16c 100644 --- a/lib/pages/chat_list.dart +++ b/lib/pages/chat_list.dart @@ -410,6 +410,7 @@ class ChatListController extends State { } void setActiveClient(int i) => setState(() { + _activeSpaceId = null; Matrix.of(context).activeClient = i; });