From 4febea34098f021c78597882def2deeab5451f3f Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 13 May 2025 00:02:29 +0200 Subject: chore: update `iced` --- crates/material_theme/src/text_input.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/material_theme/src/text_input.rs') diff --git a/crates/material_theme/src/text_input.rs b/crates/material_theme/src/text_input.rs index ed5e02a..4db220b 100644 --- a/crates/material_theme/src/text_input.rs +++ b/crates/material_theme/src/text_input.rs @@ -36,10 +36,7 @@ pub fn default(theme: &Theme, status: Status) -> Style { match status { Status::Active => active, Status::Hovered => Style { - border: Border { - color: surface.on_surface, - ..active.border - }, + border: active.border.color(surface.on_surface), ..active }, Status::Disabled => Style { -- cgit v1.2.3