Update Nerdfont glyphs (#1141)
This commit is contained in:
@@ -176,7 +176,7 @@ impl ListItem for Album {
|
|||||||
fn display_right(&self, library: &Library) -> String {
|
fn display_right(&self, library: &Library) -> String {
|
||||||
let saved = if library.is_saved_album(self) {
|
let saved = if library.is_saved_album(self) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
||||||
"\u{f62b} "
|
"\u{f012c} "
|
||||||
} else {
|
} else {
|
||||||
"✓ "
|
"✓ "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ impl ListItem for Artist {
|
|||||||
fn display_right(&self, library: &Library) -> String {
|
fn display_right(&self, library: &Library) -> String {
|
||||||
let followed = if library.is_followed_artist(self) {
|
let followed = if library.is_followed_artist(self) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
||||||
"\u{f62b} "
|
"\u{f012c} "
|
||||||
} else {
|
} else {
|
||||||
"✓ "
|
"✓ "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ impl Playable {
|
|||||||
Playable::Track(track) => Playable::Track(track),
|
Playable::Track(track) => Playable::Track(track),
|
||||||
}) {
|
}) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or_default() {
|
if library.cfg.values().use_nerdfont.unwrap_or_default() {
|
||||||
"\u{f62b}"
|
"\u{f012c}"
|
||||||
} else {
|
} else {
|
||||||
"✓"
|
"✓"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ impl ListItem for Playlist {
|
|||||||
fn display_right(&self, library: &Library) -> String {
|
fn display_right(&self, library: &Library) -> String {
|
||||||
let saved = if library.is_saved_playlist(self) {
|
let saved = if library.is_saved_playlist(self) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
||||||
"\u{f62b} "
|
"\u{f012c} "
|
||||||
} else {
|
} else {
|
||||||
"✓ "
|
"✓ "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ impl ListItem for Show {
|
|||||||
fn display_right(&self, library: &Library) -> String {
|
fn display_right(&self, library: &Library) -> String {
|
||||||
let saved = if library.is_saved_show(self) {
|
let saved = if library.is_saved_show(self) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
||||||
"\u{f62b} "
|
"\u{f012c} "
|
||||||
} else {
|
} else {
|
||||||
"✓ "
|
"✓ "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ impl ListItem for Track {
|
|||||||
} else {
|
} else {
|
||||||
let saved = if library.is_saved_track(&Playable::Track(self.clone())) {
|
let saved = if library.is_saved_track(&Playable::Track(self.clone())) {
|
||||||
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
if library.cfg.values().use_nerdfont.unwrap_or(false) {
|
||||||
"\u{f62b}"
|
"\u{f012c}"
|
||||||
} else {
|
} else {
|
||||||
"✓"
|
"✓"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ impl View for StatusBar {
|
|||||||
|
|
||||||
let updating = if !*self.library.is_done.read().unwrap() {
|
let updating = if !*self.library.is_done.read().unwrap() {
|
||||||
if self.use_nerdfont() {
|
if self.use_nerdfont() {
|
||||||
"\u{f9e5} "
|
"\u{f04e6} "
|
||||||
} else {
|
} else {
|
||||||
"[U] "
|
"[U] "
|
||||||
}
|
}
|
||||||
@@ -136,8 +136,8 @@ impl View for StatusBar {
|
|||||||
let repeat = if self.use_nerdfont() {
|
let repeat = if self.use_nerdfont() {
|
||||||
match self.queue.get_repeat() {
|
match self.queue.get_repeat() {
|
||||||
RepeatSetting::None => "",
|
RepeatSetting::None => "",
|
||||||
RepeatSetting::RepeatPlaylist => "\u{f955} ",
|
RepeatSetting::RepeatPlaylist => "\u{f0456} ",
|
||||||
RepeatSetting::RepeatTrack => "\u{f957} ",
|
RepeatSetting::RepeatTrack => "\u{f0458} ",
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
match self.queue.get_repeat() {
|
match self.queue.get_repeat() {
|
||||||
@@ -149,7 +149,7 @@ impl View for StatusBar {
|
|||||||
|
|
||||||
let shuffle = if self.queue.get_shuffle() {
|
let shuffle = if self.queue.get_shuffle() {
|
||||||
if self.use_nerdfont() {
|
if self.use_nerdfont() {
|
||||||
"\u{f99c} "
|
"\u{f049d} "
|
||||||
} else {
|
} else {
|
||||||
"[Z] "
|
"[Z] "
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user