From 775500cf1f5a14afacdc0bb6875136a4fd3369a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 9 Jan 2020 06:05:26 +0100 Subject: [PATCH] Remove leftover `debug_color` in `styling` example --- examples/styling.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/styling.rs b/examples/styling.rs index 59c9c734..50095ec7 100644 --- a/examples/styling.rs +++ b/examples/styling.rs @@ -135,7 +135,7 @@ impl Sandbox for Styling { mod style { use iced::{ button, checkbox, container, progress_bar, radio, scrollable, slider, - text_input, Color, + text_input, }; #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -146,13 +146,6 @@ mod style { impl Theme { pub const ALL: [Theme; 2] = [Theme::Light, Theme::Dark]; - - pub fn debug_color(&self) -> Color { - match self { - Theme::Light => Color::BLACK, - Theme::Dark => Color::WHITE, - } - } } impl Default for Theme {