automatic cargo CI changes

This commit is contained in:
PlexSheep 2024-08-23 08:51:21 +00:00 committed by github-actions[bot]
parent 876e2d68e0
commit cc0bc95ba2
3 changed files with 4 additions and 10 deletions

View File

@ -3,4 +3,3 @@ pub mod error;
pub mod music;
pub mod player;
pub mod store;

View File

@ -1,7 +1,7 @@
use egui::text::LayoutJob;
use egui::{Color32, FontFamily, FontId, ImageSource, Label, TextFormat};
use egui::{Color32, FontFamily, FontId, Label, TextFormat};
use super::{Entry, ICON_RAW};
use super::Entry;
pub struct ShowBox {
entry: Entry,
@ -24,7 +24,7 @@ impl egui::Widget for ShowBox {
// .fill(Color32::DARK_GRAY)
.show(ui, |ui| {
ui.vertical_centered(|ui| {
let mut r = ui.add(
let r = ui.add(
egui::Image::new(self.entry.img())
.rounding(5.0)
.bg_fill(Color32::DARK_GRAY)

View File

@ -1,11 +1,6 @@
#[derive(Default)]
pub struct Store {}
impl Default for Store {
fn default() -> Self {
Store {}
}
}
impl Store {
pub fn genres(&self) -> Vec<crate::player::ui::entry::Entry> {
todo!()