alot of ui improvements
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
Chris Cochrun 2025-09-09 09:27:00 -05:00
parent f6ebbe7391
commit 159778b816
4 changed files with 122 additions and 174 deletions

View file

@ -566,6 +566,21 @@ impl<'a> Library {
.into()
}
pub async fn search_items(
&self,
query: String,
) -> Vec<ServiceItem> {
let song1 = Song {
title: "Death Was Arrested".to_string(),
..Default::default()
};
let song2 = Song {
title: "Smelly_Belly".to_string(),
..Default::default()
};
vec![ServiceItem::from(&song1), ServiceItem::from(&song2)]
}
// fn update_item<C: Content>(self, item: C) -> Task<Message> {
// let Some((kind, index)) = self.editing_item else {
// error!("Not editing an item");