()
| 268 | } |
| 269 | |
| 270 | func (m Settings) renderActionComplete() string { |
| 271 | statusLine := Styles.CenteredLine(m.width, m.actionSuccessMessage) |
| 272 | |
| 273 | buttonStyle := Styles.Button.BorderForeground(Colors.Focused) |
| 274 | button := mouse.Mark("done", buttonStyle.Render("Done")) |
| 275 | buttonView := lipgloss.NewStyle(). |
| 276 | Width(m.width). |
| 277 | Align(lipgloss.Center). |
| 278 | MarginTop(1). |
| 279 | Render(button) |
| 280 | |
| 281 | return lipgloss.JoinVertical(lipgloss.Left, statusLine, buttonView) |
| 282 | } |
| 283 | |
| 284 | func (m Settings) runDeploy() tea.Cmd { |
| 285 | return func() tea.Msg { |
no test coverage detected