fix(messageslist): focus No first when confirming a delete
This commit is contained in:
parent
ac05d55da9
commit
71f2928ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -380,8 +380,8 @@ func (m Model) confirmDelete() tview.Cmd {
|
|||
message := *selectedMessage
|
||||
return ui.ShowDialog(
|
||||
"Are you sure you want to delete this message?",
|
||||
ui.DialogButton{Label: "Yes", Cmd: m.requestDelete(message)},
|
||||
ui.DialogButton{Label: "No"},
|
||||
ui.DialogButton{Label: "Yes", Cmd: m.requestDelete(message)},
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue