summaryrefslogtreecommitdiffstats
path: root/examples/websocket/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/websocket/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/websocket/src/main.rs b/examples/websocket/src/main.rs
index c03a9f3a..65120710 100644
--- a/examples/websocket/src/main.rs
+++ b/examples/websocket/src/main.rs
@@ -7,7 +7,7 @@ use iced::scrollable::{self, Scrollable};
use iced::text_input::{self, TextInput};
use iced::{
Application, Color, Column, Command, Container, Element, Length, Row,
- Settings, Subscription, Text,
+ Settings, Subscription, Text, Theme,
};
pub fn main() -> iced::Result {
@@ -34,6 +34,7 @@ enum Message {
impl Application for WebSocket {
type Message = Message;
+ type Theme = Theme;
type Flags = ();
type Executor = executor::Default;