chore: Always show filter for messages
This commit is contained in:
parent
f31887b6d2
commit
e40d9b5df2
6 changed files with 13 additions and 20 deletions
|
|
@ -374,9 +374,7 @@ class ChatListController extends State<ChatList>
|
|||
|
||||
@override
|
||||
void initState() {
|
||||
activeFilter = AppSettings.separateChatTypes.value
|
||||
? ActiveFilter.messages
|
||||
: ActiveFilter.allChats;
|
||||
activeFilter = ActiveFilter.allChats;
|
||||
_initReceiveSharingIntent();
|
||||
_activeSpaceId = widget.activeSpace;
|
||||
|
||||
|
|
|
|||
|
|
@ -140,18 +140,17 @@ class ChatListViewBody extends StatelessWidget {
|
|||
scrollDirection: Axis.horizontal,
|
||||
children:
|
||||
[
|
||||
if (AppSettings.separateChatTypes.value)
|
||||
ActiveFilter.messages
|
||||
else
|
||||
ActiveFilter.allChats,
|
||||
ActiveFilter.groups,
|
||||
ActiveFilter.unread,
|
||||
ActiveFilter.allChats,
|
||||
|
||||
if (spaceDelegateCandidates.isNotEmpty &&
|
||||
!AppSettings
|
||||
.displayNavigationRail
|
||||
.value &&
|
||||
!FluffyThemes.isColumnMode(context))
|
||||
ActiveFilter.spaces,
|
||||
ActiveFilter.unread,
|
||||
ActiveFilter.groups,
|
||||
ActiveFilter.messages,
|
||||
]
|
||||
.map(
|
||||
(filter) => Padding(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue