Skip to content

Commit

Permalink
chore: WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh0412 committed Mar 22, 2024
1 parent 446e569 commit 3e4bfde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/components/shared/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ impl Icon {
let name = to_kebap(binding.as_str());
SharedString::from(format!("icons/{}.svg", name))
}

pub fn get(icon: Icon) -> Self {
icon
}
}

impl fmt::Display for Icon {
Expand Down
2 changes: 1 addition & 1 deletion src/components/tab_bar_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl TabBarContainer {

impl TabBarView {
pub fn init(cx: &mut WindowContext) -> View<Self> {
let view = cx.new_view(|cx| TabBarView {});
let view = cx.new_view(|_cx| TabBarView {});

view
}
Expand Down

0 comments on commit 3e4bfde

Please sign in to comment.