summaryrefslogtreecommitdiffstats
path: root/src/popups/inspect_commit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/popups/inspect_commit.rs')
-rw-r--r--src/popups/inspect_commit.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/popups/inspect_commit.rs b/src/popups/inspect_commit.rs
index 96eba3fc..42c95dd2 100644
--- a/src/popups/inspect_commit.rs
+++ b/src/popups/inspect_commit.rs
@@ -18,7 +18,6 @@ use asyncgit::{
};
use crossterm::event::Event;
use ratatui::{
- backend::Backend,
layout::{Constraint, Direction, Layout, Rect},
widgets::Clear,
Frame,
@@ -65,11 +64,7 @@ pub struct InspectCommitPopup {
}
impl DrawableComponent for InspectCommitPopup {
- fn draw<B: Backend>(
- &self,
- f: &mut Frame<B>,
- rect: Rect,
- ) -> Result<()> {
+ fn draw(&self, f: &mut Frame, rect: Rect) -> Result<()> {
if self.is_visible() {
let percentages = if self.diff.focused() {
(0, 100)