style: share selection and watched marker space

This commit is contained in:
2026-10-22 15:26:41 +02:00
parent f9e78c4549
commit b67a3d38c6
3 changed files with 4 additions and 6 deletions
+1 -5
View File
@@ -3068,10 +3068,7 @@ impl App {
Row::new([
Cell::from(if view.checked.contains(&video.id) {
"*"
} else {
" "
}),
Cell::from(if self.video_state.is_watched(&video.id) {
} else if self.video_state.is_watched(&video.id) {
"✓"
} else {
""
@@ -3127,7 +3124,6 @@ impl App {
.height(2)
}),
[
Constraint::Length(1),
Constraint::Length(1),
Constraint::Fill(1),
],
+2
View File
@@ -1660,6 +1660,8 @@ impl Browser {
.is_some_and(|id| self.screen().checked.contains(id))
{
"* "
} else if row.key.as_deref().is_some_and(|id| self.state.is_watched(id)) {
"✓ "
} else {
" "
}