fix: cargo fmt
This commit is contained in:
parent
0fb2611a4c
commit
2f54c11604
2 changed files with 32 additions and 33 deletions
|
|
@ -7,10 +7,10 @@ pub mod desktop;
|
||||||
pub mod display;
|
pub mod display;
|
||||||
pub mod input;
|
pub mod input;
|
||||||
pub mod networking;
|
pub mod networking;
|
||||||
|
pub mod power;
|
||||||
pub mod sound;
|
pub mod sound;
|
||||||
pub mod system;
|
pub mod system;
|
||||||
pub mod time;
|
pub mod time;
|
||||||
pub mod power;
|
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub enum Message {
|
pub enum Message {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
use cosmic_settings_page::{self as page, section, Section};
|
|
||||||
use backend::PowerProfile;
|
use backend::PowerProfile;
|
||||||
use cosmic::iced::widget;
|
use cosmic::iced::widget;
|
||||||
use cosmic::{widget::settings, Apply};
|
use cosmic::{widget::settings, Apply};
|
||||||
|
use cosmic_settings_page::{self as page, section, Section};
|
||||||
use slotmap::SlotMap;
|
use slotmap::SlotMap;
|
||||||
|
|
||||||
pub mod backend;
|
pub mod backend;
|
||||||
|
|
@ -38,7 +38,6 @@ impl Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fn profiles() -> Section<crate::pages::Message> {
|
fn profiles() -> Section<crate::pages::Message> {
|
||||||
Section::default()
|
Section::default()
|
||||||
.title(fl!("power-profiles"))
|
.title(fl!("power-profiles"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue