Browse Source

fix lint complaints in ChatListController

cyberta 4 years ago
parent
commit
91afaf3ba7
1 changed files with 2 additions and 2 deletions
  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) {
     private func deleteChat(chatId: Int, animated: Bool) {
         if !animated {
         if !animated {
-            _ = viewModel.deleteChat(chatId: chatId)
+            viewModel.deleteChat(chatId: chatId)
             refreshInBg()
             refreshInBg()
             return
             return
         }
         }
 
 
         if viewModel.searchActive {
         if viewModel.searchActive {
-            _ = viewModel.deleteChat(chatId: chatId)
+            viewModel.deleteChat(chatId: chatId)
             viewModel.refreshData()
             viewModel.refreshData()
             viewModel.updateSearchResults(for: searchController)
             viewModel.updateSearchResults(for: searchController)
             return
             return