Nightonke / GithubWidget

Contributions, stars, followers, trending etc. on Github.
697 stars 70 forks source link

Colors not showing in graph on widget #8

Open kevinhinterlong opened 7 years ago

kevinhinterlong commented 7 years ago

Hey I just downloaded the app and after signing in reloading the graph, it showed every day as no contributions. Has anyone else had this problem? I had to change

switch (levelString) {
    case "#eeeeee": level = 0; break;
    case "#d6e685": level = 1; break;
    case "#8cc665": level = 2; break;
    case "#44a340": level = 3; break;
    case "#1e6823": level = 4; break;
}

to this to get it to work. Utils.java

switch (levelString) {
    case "#ebedf0": level = 0; break;
    case "#c6e48b": level = 1; break;
    case "#7bc96f": level = 2; break;
    case "#239a3b": level = 3; break;
    case "#196127": level = 4; break;
}
LogicJake commented 6 years ago

I have find the same problem and i have pull a request.