small improvements

This commit is contained in:
Kujtim Hoxha
2025-04-17 13:45:26 +02:00
parent 524d2080b0
commit cdc80c64e1
11 changed files with 149 additions and 37 deletions
+2
View File
@@ -215,6 +215,8 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return a, tea.Batch(cmds...)
}
}
a.status, _ = a.status.Update(msg)
a.pages[a.currentPage], cmd = a.pages[a.currentPage].Update(msg)
cmds = append(cmds, cmd)
return a, tea.Batch(cmds...)