mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 23:02:02 +03:00
chore(mac): apply swiftformat and lint fixes
This commit is contained in:
@@ -9,8 +9,8 @@ final class AgentEventStore: ObservableObject {
|
||||
|
||||
func append(_ event: ControlAgentEvent) {
|
||||
self.events.append(event)
|
||||
if self.events.count > maxEvents {
|
||||
self.events.removeFirst(self.events.count - maxEvents)
|
||||
if self.events.count > self.maxEvents {
|
||||
self.events.removeFirst(self.events.count - self.maxEvents)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user