chore: format for 2024 edition

This commit is contained in:
Michael Aaron Murphy 2025-03-21 13:33:07 +01:00
parent 8cf372c9b9
commit 0aa518984e
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
57 changed files with 196 additions and 199 deletions

View file

@ -6,7 +6,7 @@
use crate::widget::segmented_button::{Appearance, ItemAppearance, StyleSheet};
use crate::{theme::Theme, widget::segmented_button::ItemStatusAppearance};
use cosmic_theme::{Component, Container};
use iced_core::{border::Radius, Background};
use iced_core::{Background, border::Radius};
#[derive(Default)]
pub enum SegmentedButton {
@ -165,7 +165,7 @@ impl StyleSheet for Theme {
mod horizontal {
use crate::widget::segmented_button::{ItemAppearance, ItemStatusAppearance};
use cosmic_theme::Component;
use iced_core::{border::Radius, Background};
use iced_core::{Background, border::Radius};
pub fn selection_active(
cosmic: &cosmic_theme::Theme,
@ -252,7 +252,7 @@ pub fn hover(
mod vertical {
use crate::widget::segmented_button::{ItemAppearance, ItemStatusAppearance};
use cosmic_theme::Component;
use iced_core::{border::Radius, Background};
use iced_core::{Background, border::Radius};
pub fn selection_active(
cosmic: &cosmic_theme::Theme,