From 5fcb2255506a4fc57bb151f3d4490074ab4c0f54 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sun, 28 Jul 2024 16:19:47 +0859 Subject: [PATCH] chore: fix typo --- iced_examples/iced_launcher/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iced_examples/iced_launcher/src/main.rs b/iced_examples/iced_launcher/src/main.rs index 2f3bdfa..7d287d6 100644 --- a/iced_examples/iced_launcher/src/main.rs +++ b/iced_examples/iced_launcher/src/main.rs @@ -153,7 +153,7 @@ impl Application for Launcher { .on_submit(Message::SearchSubmit) .id(INPUT_ID.clone()) .into(); - let buttom_vec: Vec> = self + let bottom_vec: Vec> = self .apps .iter() .enumerate() @@ -170,9 +170,9 @@ impl Application for Launcher { .filter(|(index, _)| *index >= self.scrollpos) .map(|(filter_index, (index, app))| app.view(index, filter_index == self.scrollpos)) .collect(); - let buttom: Element = scrollable(column(buttom_vec).width(Length::Fill)) + let bottom: Element = scrollable(column(bottom_vec).width(Length::Fill)) .id(SCROLLABLE_ID.clone()) .into(); - column![text_ip, buttom].into() + column![text_ip, bottom].into() } }