Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Kyle review p1.
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub committed Jan 16, 2024
1 parent aa44839 commit 762740b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ public class BraveTalkLogsViewController: UIViewController {
$0.edges.equalToSuperview()
}

let formatter = DateFormatter()
formatter.dateStyle = .short
formatter.timeStyle = .long

logsTextView.text = getLogs()

let shareButton = UIBarButtonItem(barButtonSystemItem: .action, target: self, action: #selector(shareLogs))
Expand Down Expand Up @@ -59,7 +55,7 @@ public class BraveTalkLogsViewController: UIViewController {
.compactMap { $0 as? OSLogEntryLog }
.filter { $0.category == "BraveTalk" && $0.subsystem == Bundle.main.bundleIdentifier }
.map { "[\($0.date.formatted())] \($0.composedMessage)" }
.joined()
.joined(separator: "\n")
} catch {
Logger.module.error("\(error.localizedDescription, privacy: .public)")
}
Expand Down

0 comments on commit 762740b

Please sign in to comment.