ソースを参照

disable location streaming in all chats of deleted accounts

B. Petersen 4 年 前
コミット
cb5245c7d3
1 ファイル変更1 行追加0 行削除
  1. 1 0
      deltachat-ios/Controller/SettingsController.swift

+ 1 - 0
deltachat-ios/Controller/SettingsController.swift

@@ -469,6 +469,7 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
                     message: String.localized("forget_login_confirmation_desktop"), preferredStyle: .alert)
                 confirm2.addAction(UIAlertAction(title: String.localized("delete"), style: .destructive, handler: { [weak self] _ in
                     guard let self = self else { return }
+                    appDelegate.locationManager.disableLocationStreamingInAllChats()
                     _ = self.dcAccounts.remove(id: selectedAccountId)
                     if self.dcAccounts.getAll().isEmpty {
                         _ = self.dcAccounts.add()