feat: discard playback selection with Escape
This commit is contained in:
+6
-2
@@ -1573,7 +1573,7 @@ impl Browser {
|
||||
fn markers(&self, id: &str) -> String {
|
||||
let mut markers = String::new();
|
||||
for (present, label) in [
|
||||
(self.state.is_watched(id), "✓ watched"),
|
||||
(self.state.is_watched(id), "watched"),
|
||||
(
|
||||
self.state.contains(CollectionKind::WatchLater, id),
|
||||
"watch later",
|
||||
@@ -1660,7 +1660,11 @@ 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 if row
|
||||
.key
|
||||
.as_deref()
|
||||
.is_some_and(|id| self.state.is_watched(id))
|
||||
{
|
||||
"✓ "
|
||||
} else {
|
||||
" "
|
||||
|
||||
Reference in New Issue
Block a user