Color of bar items is always white
In the initializator method - attachToScrollView the color is being passed as a param but later it is not used.
Instead a white color is harcoded:
BarItem *barItem = [[BarItem alloc] initWithFrame:refreshControl.frame startPoint:startPoint endPoint:endPoint color:[UIColor whiteColor] lineWidth:lineWidth];
while this should be:
BarItem *barItem = [[BarItem alloc] initWithFrame:refreshControl.frame startPoint:startPoint endPoint:endPoint color:color lineWidth:lineWidth];
Hm - i've now cloned the repo and i see this is fixed!
It's only wrong in the cocoapods version - could you update it please?
Thank you!
domo is right
Hi,
Could you update the pod, please?
Thanks!