Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Jul 28, 2024
1 parent f1a34ff commit 5fcb225
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iced_examples/iced_launcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl Application for Launcher {
.on_submit(Message::SearchSubmit)
.id(INPUT_ID.clone())
.into();
let buttom_vec: Vec<Element<Message>> = self
let bottom_vec: Vec<Element<Message>> = self
.apps
.iter()
.enumerate()
Expand All @@ -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<Message> = scrollable(column(buttom_vec).width(Length::Fill))
let bottom: Element<Message> = scrollable(column(bottom_vec).width(Length::Fill))
.id(SCROLLABLE_ID.clone())
.into();
column![text_ip, buttom].into()
column![text_ip, bottom].into()
}
}

0 comments on commit 5fcb225

Please sign in to comment.