Update Nerdfont glyphs (#1141)

This commit is contained in:
Callum Wishart
2023-05-05 07:43:50 +10:00
committed by GitHub
parent b742bec22e
commit 43a4883bd3
7 changed files with 10 additions and 10 deletions

View File

@@ -176,7 +176,7 @@ impl ListItem for Album {
fn display_right(&self, library: &Library) -> String {
let saved = if library.is_saved_album(self) {
if library.cfg.values().use_nerdfont.unwrap_or(false) {
"\u{f62b} "
"\u{f012c} "
} else {
""
}

View File

@@ -101,7 +101,7 @@ impl ListItem for Artist {
fn display_right(&self, library: &Library) -> String {
let followed = if library.is_followed_artist(self) {
if library.cfg.values().use_nerdfont.unwrap_or(false) {
"\u{f62b} "
"\u{f012c} "
} else {
""
}

View File

@@ -58,7 +58,7 @@ impl Playable {
Playable::Track(track) => Playable::Track(track),
}) {
if library.cfg.values().use_nerdfont.unwrap_or_default() {
"\u{f62b}"
"\u{f012c}"
} else {
""
}

View File

@@ -197,7 +197,7 @@ impl ListItem for Playlist {
fn display_right(&self, library: &Library) -> String {
let saved = if library.is_saved_playlist(self) {
if library.cfg.values().use_nerdfont.unwrap_or(false) {
"\u{f62b} "
"\u{f012c} "
} else {
""
}

View File

@@ -83,7 +83,7 @@ impl ListItem for Show {
fn display_right(&self, library: &Library) -> String {
let saved = if library.is_saved_show(self) {
if library.cfg.values().use_nerdfont.unwrap_or(false) {
"\u{f62b} "
"\u{f012c} "
} else {
""
}

View File

@@ -227,7 +227,7 @@ impl ListItem for Track {
} else {
let saved = if library.is_saved_track(&Playable::Track(self.clone())) {
if library.cfg.values().use_nerdfont.unwrap_or(false) {
"\u{f62b}"
"\u{f012c}"
} else {
""
}