瀏覽代碼

fix lint complaints in ChatListController

cyberta 4 年之前
父節點
當前提交
91afaf3ba7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      deltachat-ios/Controller/ChatListController.swift

+ 2 - 2
deltachat-ios/Controller/ChatListController.swift

@@ -442,13 +442,13 @@ class ChatListController: UITableViewController {
 
     private func deleteChat(chatId: Int, animated: Bool) {
         if !animated {
-            _ = viewModel.deleteChat(chatId: chatId)
+            viewModel.deleteChat(chatId: chatId)
             refreshInBg()
             return
         }
 
         if viewModel.searchActive {
-            _ = viewModel.deleteChat(chatId: chatId)
+            viewModel.deleteChat(chatId: chatId)
             viewModel.refreshData()
             viewModel.updateSearchResults(for: searchController)
             return