Skip to content

Commit

Permalink
chore: migrate from deprecated ratatui::Frame::<'_>::size to ::area
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoniePhiline committed Nov 21, 2024
1 parent ded6e39 commit 51c06da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl Ui {
let all_videos_read = Self::acquire_all_videos_sorted(all_videos.iter()).await;

terminal.draw(|frame| {
let area = frame.size();
let area = frame.area();

let chunks = layout::layout_chunks(area, &all_videos_read);

Expand Down

0 comments on commit 51c06da

Please sign in to comment.