Closed jacksalssome closed 2 weeks ago
Here's my patch for the ratio colors issue. I rearranged and added a few colors and added more out to ratio 1000.
I there was an issue comparing strings, I fixed it my making the value from qBittorrent a float and made the comparison numbers be numbers instead of strings.
The only thing I think needs modified is the colors should go from red, orange, yellow, green, blue, indigo, and at the top violet
How's it work for you now? Also I got it to keep the 2 decimal places.
Ok, I reverted the colors to those in your repo and added gold. I made it so if ratio is over 100, it will show gold.
Here's my patch for the ratio colors issue. I rearranged and added a few colors and added more out to ratio 1000.
I there was an issue comparing strings, I fixed it my making the value from qBittorrent a float and made the comparison numbers be numbers instead of strings.