refactor: Fix macOS standalone application
This commit is contained in:
@@ -86,9 +86,11 @@ public class LogDataModel: ObservableObject {
|
||||
lastProcessedLogCount = 0
|
||||
lastEffectiveLevel = nil
|
||||
lastSearchText = ""
|
||||
filteredLogs = []
|
||||
visibleLogs = []
|
||||
commandClient.clearLogs()
|
||||
Task.detached {
|
||||
let client = LibboxNewStandaloneCommandClient()
|
||||
try? client?.clearLogs()
|
||||
try? LibboxNewStandaloneCommandClient()!.clearLogs()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user