summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Cargo.lock2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 502577a..4592609 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2041,7 +2041,7 @@ dependencies = [
[[package]]
name = "iced_custom_highlighter"
version = "0.1.0"
-source = "git+https://github.com/pml68/iced_custom_highlighter?branch=fix%2Ftemp-update-on-theme-changed#a536d6585139bb772458acc158573eecf9794c51"
+source = "git+https://github.com/pml68/iced_custom_highlighter?branch=fix%2Ftemp-update-on-theme-changed#48f6da3c093ed1d57f5f229383b85e903f882f41"
dependencies = [
"iced_widget",
"syntect",
diff --git a/src/main.rs b/src/main.rs
index 3a52deb..ca2c017 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -367,7 +367,7 @@ impl App {
),
DesignerPage::CodeView => code_view::view(
&self.editor_content,
- self.theme.target().clone(),
+ self.theme.value().clone(),
is_focused,
),
},