Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color of bar items is always white #41

Open
miraclebg opened this issue May 20, 2016 · 3 comments
Open

Color of bar items is always white #41

miraclebg opened this issue May 20, 2016 · 3 comments

Comments

@miraclebg
Copy link

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];

@miraclebg
Copy link
Author

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!

@2333333333
Copy link

domo is right

@daliadanila
Copy link

Hi,

Could you update the pod, please?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants