Skip to content

Commit

Permalink
Updated status bar tap action
Browse files Browse the repository at this point in the history
  • Loading branch information
vineetchoudhary committed Jun 21, 2020
1 parent c6d4ebe commit 02867a0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ class DownloaderViewController: NSViewController {
}

@IBAction func statusTapAction(_ sender: NSClickGestureRecognizer) {
performSegue(withIdentifier: "ShowLogsViewController", sender: nil)
if let latestLogFilePath = DLog.sortedLogFilePath.first {
NSWorkspace.shared.openFile(latestLogFilePath)
}
}
}

Expand Down

0 comments on commit 02867a0

Please sign in to comment.