Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pythops committed Dec 15, 2024
1 parent f48f9df commit e41426e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/app.rs
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
use bluer::{
Session,
agent::{Agent, AgentHandle},
Session,
};
use futures::FutureExt;
use ratatui::{
Frame,
layout::{Alignment, Constraint, Direction, Layout, Margin},
style::{Color, Modifier, Style, Stylize},
text::{Line, Span},
widgets::{
Block, BorderType, Borders, Cell, Clear, Padding, Paragraph, Row, Scrollbar,
ScrollbarOrientation, ScrollbarState, Table, TableState,
},
Frame,
};
use tui_input::Input;

use crate::{
bluetooth::{Controller, request_confirmation},
bluetooth::{request_confirmation, Controller},
config::Config,
confirmation::PairingConfirmation,
help::Help,
Expand All @@ -25,7 +25,7 @@ use crate::{
};
use std::{
error,
sync::{Arc, atomic::Ordering},
sync::{atomic::Ordering, Arc},
};

pub type AppResult<T> = std::result::Result<T, Box<dyn error::Error>>;
Expand Down
2 changes: 1 addition & 1 deletion src/help.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use std::sync::Arc;

use ratatui::{
Frame,
layout::{Alignment, Constraint, Direction, Layout, Margin},
style::{Color, Style, Stylize},
widgets::{
Block, BorderType, Borders, Cell, Clear, Padding, Row, Scrollbar, ScrollbarOrientation,
ScrollbarState, Table, TableState,
},
Frame,
};

use crate::{app::ColorMode, config::Config};
Expand Down

0 comments on commit e41426e

Please sign in to comment.