Change deprecated frame.size() to frame.area()

Continuing #271 after ec76dcd.
Meant to do this in #271 but it got merged.
This commit is contained in:
Adam Perkowski 2024-09-10 23:00:03 +02:00
parent 9e9af0e711
commit 5d3db953f7
No known key found for this signature in database
GPG Key ID: 7CBDB58ECF1D3478

View File

@ -103,7 +103,7 @@ impl AppState {
Constraint::Min(2 + SHORTCUT_LINES as u16),
])
.margin(0)
.split(frame.size());
.split(frame.area());
let horizontal = Layout::default()
.direction(Direction::Horizontal)