summaryrefslogtreecommitdiffstats
path: root/native/src/widget/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-11-09 18:24:14 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-09 18:24:14 +0100
commitaf6f7945a905a04ae0335fdc295678ff95eff5f9 (patch)
treed44ac78a6200feb90e0359fa9ff62b24c0c64738 /native/src/widget/text_input.rs
parent8102f96f12e6cb22dd2a23accea2c70490c8c532 (diff)
parent925b78a75ddf8e37e70babe4dae78a9970a181f0 (diff)
downloadiced-af6f7945a905a04ae0335fdc295678ff95eff5f9.tar.gz
iced-af6f7945a905a04ae0335fdc295678ff95eff5f9.tar.bz2
iced-af6f7945a905a04ae0335fdc295678ff95eff5f9.zip
Merge pull request #1519 from iced-rs/customizable-theme
Built-in `Theme` customization
Diffstat (limited to 'native/src/widget/text_input.rs')
-rw-r--r--native/src/widget/text_input.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs
index 25a8690e..22eff7f1 100644
--- a/native/src/widget/text_input.rs
+++ b/native/src/widget/text_input.rs
@@ -188,7 +188,7 @@ where
self.size,
&self.font,
self.is_secure,
- self.style,
+ &self.style,
)
}
}
@@ -284,7 +284,7 @@ where
self.size,
&self.font,
self.is_secure,
- self.style,
+ &self.style,
)
}
@@ -746,7 +746,7 @@ pub fn draw<Renderer>(
size: Option<u16>,
font: &Renderer::Font,
is_secure: bool,
- style: <Renderer::Theme as StyleSheet>::Style,
+ style: &<Renderer::Theme as StyleSheet>::Style,
) where
Renderer: text::Renderer,
Renderer::Theme: StyleSheet,