Browse Source

add ios-version to debug info

B. Petersen 4 years ago
parent
commit
393620bdf6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      deltachat-ios/Controller/SettingsController.swift

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

@@ -475,6 +475,9 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
     public static func showDebugToolkit(dcContext: DcContext) {
         var info = ""
 
+        let systemVersion = UIDevice.current.systemVersion
+        info += "iosVersion=\(systemVersion)\n"
+
         let notifyEnabled = !UserDefaults.standard.bool(forKey: "notifications_disabled")
         info += "notify-enabled=\(notifyEnabled)\n"