From 7ed3a1810f768eb5058b838e2ece179469119bd0 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 27 Apr 2021 09:47:24 +0200 Subject: [PATCH] Fix issue with Forez groups --- lib/ui/screens/authorized_group_page_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/screens/authorized_group_page_screen.dart b/lib/ui/screens/authorized_group_page_screen.dart index a993585..60e2733 100644 --- a/lib/ui/screens/authorized_group_page_screen.dart +++ b/lib/ui/screens/authorized_group_page_screen.dart @@ -93,7 +93,7 @@ class _AuthorizedGroupPageScreenState length: _tabs.length, initialIndex: widget.conversationID == null ? 0 - : 1 + + : (_group.isForezGroup ? 2 : 1) + _group.conversations .indexWhere((element) => element.id == widget.conversationID), vsync: this,