summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 06:05:26 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 06:05:26 +0100
commit775500cf1f5a14afacdc0bb6875136a4fd3369a4 (patch)
tree142e02f76c26dc77ef1ea88b4f4c2921325c89df
parent5e018965ee99c44fe50f9be8f7b69cd486d183be (diff)
downloadiced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.tar.gz
iced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.tar.bz2
iced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.zip
Remove leftover `debug_color` in `styling` example
-rw-r--r--examples/styling.rs9
1 files changed, 1 insertions, 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 {