소스 검색

fix lint issue

cyberta 4 년 전
부모
커밋
c88dde9d23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {