ios: fix chat console not showing command and response before re-opening

This commit is contained in:
Evgeny Poberezkin 2023-08-21 13:52:09 +01:00
parent 04cc0e8065
commit c3ffc2abb8

View File

@ -31,8 +31,8 @@ actor TerminalItems {
}
func addCommand(_ start: Date, _ cmd: ChatCommand, _ resp: ChatResponse) async {
addTermItem(&terminalItems, .cmd(start, cmd))
addTermItem(&terminalItems, .resp(.now, resp))
await add(.cmd(start, cmd))
await add(.resp(.now, resp))
}
}