Skip to content

Commit 2c45756

Browse files
committed
💬 fix: appropriate title for widget
1 parent c6ee39a commit 2c45756

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/popups/conventional_commit.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,11 @@ impl DrawableComponent for ConventionalCommitPopup {
599599
.borders(Borders::all())
600600
.style(self.theme.title(true))
601601
.title(Span::styled(
602-
"owo",
602+
if self.seleted_commit_type.is_some() {
603+
"Emoji of commit"
604+
} else {
605+
"Type of commit"
606+
},
603607
self.theme.title(true),
604608
)),
605609
area,

0 commit comments

Comments
 (0)