Просмотр исходного кода

fixed that selecting chat requests proceeding with action

nayooti 5 лет назад
Родитель
Сommit
9c3eed3343
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      deltachat-ios/ViewModel/ChatListViewModel.swift

+ 1 - 1
deltachat-ios/ViewModel/ChatListViewModel.swift

@@ -153,7 +153,7 @@ class ChatListViewModel: NSObject, ChatListViewModelProtocol {
     }
 
     func msgIdFor(row: Int) -> Int? {
-        if searchActive {
+        if showSearchResults {
             return nil
         }
         return chatList.getMsgId(index: row)