diff --git a/src/app/app.css b/src/app/app.css index 1ecc5f9b..40c7cfa2 100644 --- a/src/app/app.css +++ b/src/app/app.css @@ -91,7 +91,7 @@ a, x-markdown { display: flex; flex-direction: column; - overflow: scroll; + overflow: auto; text-align: left; gap: var(--gap); padding: 0 3rem; diff --git a/xcode/App-Shared/ViewController.swift b/xcode/App-Shared/ViewController.swift index 61f98471..fdd694fb 100644 --- a/xcode/App-Shared/ViewController.swift +++ b/xcode/App-Shared/ViewController.swift @@ -300,7 +300,7 @@ extension ViewController: UIDocumentPickerDelegate { logger?.error("\(#function, privacy: .public) - Export failed: \(error)") let alert = UIAlertController( title: "Export failed", - message: error.localizedDescription, + message: "\(error)", preferredStyle: .alert ) alert.addAction(UIAlertAction(title: "OK", style: .default)) diff --git a/xcode/Shared/Logger.swift b/xcode/Shared/Logger.swift index 7f15fab1..f2137a70 100644 --- a/xcode/Shared/Logger.swift +++ b/xcode/Shared/Logger.swift @@ -190,8 +190,8 @@ func USLogFilesExportTo(_ directory: URL) throws -> URL { enum errType: String { case notDirectory = "Not a directory URL" case logDirURLNil = "Failed get logDirURL" - case noLogDir = "Log directory does not exist" - case noLogFiles = "The log directory is empty" + case noLogDir = "The log is not ready, please try again later (d)" + case noLogFiles = "The log is not ready, please try again later (f)" case exportFailed = "Export failed" } let type: errType