chore: fix compiler warning
This commit is contained in:
parent
799278e296
commit
e4c593c2fb
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ pub(crate) fn render_search_mode_button<V: View>(
|
||||||
.clone();
|
.clone();
|
||||||
let side_width = style.container.corner_radius;
|
let side_width = style.container.corner_radius;
|
||||||
style.container.corner_radius = 0.;
|
style.container.corner_radius = 0.;
|
||||||
if let Some(button_side) = mode.button_side() {
|
if mode.button_side().is_some() {
|
||||||
style.container.border.left = mode.border_left();
|
style.container.border.left = mode.border_left();
|
||||||
style.container.border.right = mode.border_right();
|
style.container.border.right = mode.border_right();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue