diff options
Diffstat (limited to '')
| -rw-r--r-- | examples/editor/src/main.rs | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index d513090f..f49ca6e8 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -230,7 +230,11 @@ impl Application for Editor {      }      fn theme(&self) -> Theme { -        Theme::Dark +        if self.theme.is_dark() { +            Theme::Dark +        } else { +            Theme::Light +        }      }  }  | 
