mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-31 15:25:13 +00:00
ui: exclude muted chats from filtered chats (#3900)
This commit is contained in:
committed by
GitHub
parent
d3b255b7cb
commit
5fd8e6e4fe
+3
-1
@@ -535,7 +535,9 @@ private fun filteredChats(
|
||||
}
|
||||
|
||||
private fun filtered(chat: Chat): Boolean =
|
||||
(chat.chatInfo.chatSettings?.favorite ?: false) || chat.chatStats.unreadCount > 0 || chat.chatStats.unreadChat
|
||||
(chat.chatInfo.chatSettings?.favorite ?: false) ||
|
||||
chat.chatStats.unreadChat ||
|
||||
(chat.chatInfo.ntfsEnabled && chat.chatStats.unreadCount > 0)
|
||||
|
||||
private fun viewNameContains(cInfo: ChatInfo, s: String): Boolean =
|
||||
cInfo.chatViewName.lowercase().contains(s.lowercase())
|
||||
|
||||
Reference in New Issue
Block a user