macOS: Log view: No need to disable Close button
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
@@ -44,7 +44,8 @@ public class LogViewHelper {
|
||||
LogViewHelper.logEntries.append(LogEntry(timestamp: dateString, message: message))
|
||||
}
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
self?.cursor = newCursor
|
||||
guard let self = self else { return }
|
||||
self.cursor = newCursor
|
||||
completion(LogViewHelper.logEntries)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user