Skip to content

Commit 03953b5

Browse files
remove unused imports
1 parent e6c41ff commit 03953b5

File tree

7 files changed

+5
-8
lines changed

7 files changed

+5
-8
lines changed

src/gui/troxide_widget.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub mod series_poster {
2525
column, container, horizontal_space, image, mouse_area, progress_bar, row, text,
2626
vertical_space,
2727
};
28-
use iced::{theme, Command, Element, Length, Renderer};
28+
use iced::{Command, Element, Length, Renderer};
2929

3030
#[derive(Clone, Debug)]
3131
pub enum Message {

src/gui/view/discover_view.rs

-2
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ fn series_posters_loader<'a>(
265265
}
266266

267267
mod searching {
268-
269-
use iced::theme;
270268
use iced::widget::{
271269
column, container, horizontal_space, image, mouse_area, row, scrollable, text, text_input,
272270
vertical_space, Column,

src/gui/view/series_view.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use season_widget::Message as SeasonMessage;
1515
use iced::widget::scrollable::Properties;
1616
use iced::widget::{button, column, container, horizontal_space, image, row, scrollable, text};
1717
use iced::widget::{svg, vertical_space, Column, Row};
18-
use iced::{theme, Alignment, Command, Element, Length, Renderer};
18+
use iced::{Alignment, Command, Element, Length, Renderer};
1919
use iced_aw::{Grid, Spinner};
2020

2121
mod cast_widget;

src/gui/view/series_view/cast_widget.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl CastWidget {
8080
}
8181
mod cast_poster {
8282
use iced::{
83-
alignment, theme,
83+
alignment,
8484
widget::{container, image, text, Column},
8585
Command, Element, Renderer,
8686
};

src/gui/view/series_view/season_widget.rs

-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ mod episode_widget {
258258
gui::{helpers::season_episode_str_gen, styles},
259259
};
260260
use iced::{
261-
theme,
262261
widget::{
263262
checkbox, column, container, horizontal_space, image, row, text, vertical_space, Row,
264263
Text,

src/gui/view/statistics_view.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use iced::widget::{column, container, scrollable, Column};
2-
use iced::{theme, Command, Element, Length, Renderer};
2+
use iced::{Command, Element, Length, Renderer};
33

44
use crate::gui::styles;
55
use crate::{

src/gui/view/statistics_view/mini_widgets.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use iced::widget::{column, container, horizontal_space, row, text};
2-
use iced::{theme, Alignment, Element, Length, Renderer};
2+
use iced::{Alignment, Element, Length, Renderer};
33

44
use crate::core::api::series_information::SeriesMainInformation;
55
use crate::core::database;

0 commit comments

Comments
 (0)