Skip to content

Commit 42d3b1d

Browse files
committed
tui/note: unexport WarningHeader
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
1 parent 098245b commit 42d3b1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/tui/note.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ func (o Output) PrintNote(format string, args ...any) {
7070
o.PrintNoteWithOptions(format, args, WithHeader(InfoHeader))
7171
}
7272

73-
var WarningHeader = Str{
73+
var warningHeader = Str{
7474
Plain: " Warn -> ",
7575
Fancy: aec.Bold.Apply(aec.LightYellowB.Apply(aec.BlackF.Apply("w")) + " " + ColorWarning.Apply("Warn → ")),
7676
}
7777

7878
func (o Output) PrintWarning(format string, args ...any) {
79-
o.PrintNoteWithOptions(format, args, WithHeader(WarningHeader), WithMessageColor(ColorWarning))
79+
o.PrintNoteWithOptions(format, args, WithHeader(warningHeader), WithMessageColor(ColorWarning))
8080
}

0 commit comments

Comments
 (0)