Skip to content

Commit

Permalink
fix(term): use selected_feed to render feed detail
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Apr 18, 2024
1 parent fa24ee6 commit 404cc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/synd_term/src/ui/components/subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl Subscription {
let inner = block.inner(area);
Widget::render(block, area, buf);

let Some(feed) = self.feeds.get(self.selected_feed_index) else {
let Some(feed) = self.selected_feed() else {
return;
};

Expand Down

0 comments on commit 404cc4c

Please sign in to comment.