Explorar el Código

fix lint issue

cyberta hace 4 años
padre
commit
c88dde9d23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deltachat-ios/Controller/AccountSetupController.swift

+ 1 - 1
deltachat-ios/Controller/AccountSetupController.swift

@@ -778,7 +778,7 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
             guard let self = self else { return }
             appDelegate.locationManager.disableLocationStreamingInAllChats()
             self.dcAccounts.stopIo()
-            self.dcAccounts.remove(id: self.dcAccounts.getSelected().id)
+            _ = self.dcAccounts.remove(id: self.dcAccounts.getSelected().id)
             if let firstAccountId = self.dcAccounts.getAll().first {
                 _ = self.dcAccounts.select(id: firstAccountId)
             } else {