Skip to content

Commit

Permalink
🎨 style(start): use info instead of a glyph
Browse files Browse the repository at this point in the history
  • Loading branch information
fawni committed Apr 20, 2023
1 parent 7d6adbf commit df99497
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/glyphs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub const START: &str = "ο€…";
pub const PLAY: &str = "";
pub const PAUSE: &str = "";
pub const STOP: &str = "";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/player/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub async fn start() -> miette::Result<String> {
Ok(())
});

Ok(format!("{} Started MusicBee", glyphs::START.green()))
Ok("Started MusicBee".to_owned())
}

pub async fn add(path: &str, next: bool) -> miette::Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async fn main() -> miette::Result<()> {
async fn start() -> miette::Result<()> {
let res = command::start().await?;

Ok(println!("{res}"))
Ok(info!("{res}"))
}

async fn add(add_args: Add) -> miette::Result<()> {
Expand Down

0 comments on commit df99497

Please sign in to comment.