CreateInfoDialog creates an information dialog.
(title, message string, onClose func())
| 95 | |
| 96 | // CreateInfoDialog creates an information dialog. |
| 97 | func CreateInfoDialog(title, message string, onClose func()) *tview.Modal { |
| 98 | return createBaseModal(title, message, theme.Colors.Primary, onClose) |
| 99 | } |
| 100 | |
| 101 | // CreateErrorDialog creates an error dialog. |
| 102 | func CreateErrorDialog(title, message string, onClose func()) *tview.Modal { |
no test coverage detected