Skip to content

Commit

Permalink
remove uneeded param/uses
Browse files Browse the repository at this point in the history
  • Loading branch information
Refael10ru committed Jan 17, 2025
1 parent fb81e0d commit 67e7d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tui/src/ui/components/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,7 @@ impl Model {
table.add_col(TextSpan::from("empty tracks from db/playlist"));
table.add_col(TextSpan::from(""));
}
let table = table.build();

table
table.build()
}

pub fn database_update_search(&mut self, input: &str) {
Expand Down
2 changes: 1 addition & 1 deletion tui/src/ui/components/playlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::borrow::Cow;
use std::ffi::OsString;
use std::path::Path;
use termusiclib::config::SharedTuiSettings;
use termusiclib::library_db::const_unknown::{UNKNOWN_ALBUM, UNKNOWN_ARTIST, UNKNOWN_TITLE};
use termusiclib::library_db::const_unknown::{UNKNOWN_ALBUM, UNKNOWN_ARTIST};
use termusiclib::library_db::SearchCriteria;
use termusiclib::library_db::TrackDB;
use termusiclib::track::Track;
Expand Down

0 comments on commit 67e7d57

Please sign in to comment.