From 87371069f7b88a3a51139aa486ae9a8acf5722aa Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Tue, 13 Feb 2024 22:38:11 +0100 Subject: [PATCH] chore(about): remove distro logo --- app/src/pages/system/about.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/src/pages/system/about.rs b/app/src/pages/system/about.rs index 4be588c..a265fc1 100644 --- a/app/src/pages/system/about.rs +++ b/app/src/pages/system/about.rs @@ -33,7 +33,6 @@ impl page::Page for Page { sections: &mut SlotMap>, ) -> Option { Some(vec![ - sections.insert(distributor_logo()), sections.insert(device()), sections.insert(hardware()), sections.insert(os()), @@ -75,21 +74,6 @@ fn device() -> Section { }) } -fn distributor_logo() -> Section { - Section::default() - .search_ignore() - .view::(|_binder, _page, _section| { - row!( - horizontal_space(Length::Fill), - icon::from_name("distributor-logo").size(78).icon(), - horizontal_space(Length::Fill), - ) - // Add extra padding to reach 40px from the first section. - .padding([0, 16, 0, 16]) - .into() - }) -} - fn hardware() -> Section { Section::default() .title(fl!("about-hardware"))