Skip to content

Commit

Permalink
Fix AF danceability
Browse files Browse the repository at this point in the history
  • Loading branch information
Marekkon5 committed Nov 18, 2021
1 parent 26d574a commit 7c7afec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/audiofeatures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl AFProperties {
pub fn merge_with_values(&self, features: &rspotify::model::audio::AudioFeatures, track: &FullTrack, format: AudioFileFormat) -> Vec<AFPropertyMerged> {
vec![
AFPropertyMerged::new(features.danceability, &self.danceability, &format)
.add_main_value("#dance-high", "#dance-med", "#dance-low"),
.add_main_value("#dance-low", "#dance-med", "#dance-high"),
AFPropertyMerged::new(features.acousticness, &self.acousticness, &format)
.add_main_value("#electronic", "", "#acoustic"),
AFPropertyMerged::new(features.energy, &self.energy, &format)
Expand Down

0 comments on commit 7c7afec

Please sign in to comment.