Sfoglia il codice sorgente

add ios-version to debug info

B. Petersen 4 anni fa
parent
commit
393620bdf6
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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"