Listen for msgStateEnter in conversations view
This commit is contained in:
parent
aeeb7bb7f7
commit
60394de620
@ -115,7 +115,7 @@ func (m *conversationsModel) handleResize(width, height int) {
|
||||
func (m conversationsModel) Update(msg tea.Msg) (conversationsModel, tea.Cmd) {
|
||||
var cmds []tea.Cmd
|
||||
switch msg := msg.(type) {
|
||||
case msgStateChange:
|
||||
case msgStateEnter:
|
||||
cmds = append(cmds, m.loadConversations())
|
||||
m.content.SetContent(m.renderConversationList())
|
||||
case tea.WindowSizeMsg:
|
||||
|
Loading…
Reference in New Issue
Block a user