浏览代码

same comment fixes for DcShare

B. Petersen 3 年之前
父节点
当前提交
558ca93ed6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      DcShare/ViewModel/ChatListViewModel.swift

+ 2 - 2
DcShare/ViewModel/ChatListViewModel.swift

@@ -183,11 +183,11 @@ class ChatListViewModel: NSObject {
 
     func filterAndUpdateList(searchText: String) {
 
-        // #1 chats with searchPattern in title bar
+        // #1 - search for chats with searchPattern in title
         let flags = DC_GCL_ADD_ALLDONE_HINT | DC_GCL_FOR_FORWARDING | DC_GCL_NO_SPECIALS
         searchResultChatList = dcContext.getChatlist(flags: flags, queryString: searchText, queryId: 0)
 
-        // #2 contacts with searchPattern in name or in email
+        // #2 - search for contacts with searchPattern in name or in email
         searchResultContactIds = dcContext.getContacts(flags: DC_GCL_ADD_SELF, queryString: searchText)
 
         updateSearchResultSections()