Open aarashgoodarzi opened 3 years ago
hmm i face same problem here, for rounded border view, did u have any solutions?
Yes there is a solution. You have to give back the border by yourself, after theme changes. you can observe theme changes as mentioned in SwiftTheme documentation.
The best solution is to fix the issue by repo maintainers to avoid these hacky solutions :)
hmm i know it, my situation is using round border for "view state", that mean when user online, u can see the green view, then it were inside tableview cell :(, as your guide, i have 2 case
Implement notification for each cell :(, that's better, but will take more and more code (check when cell reused, or visible in tableview.....)
So i think better if have simple. way to set theme for border
Store your data then call reloadData() Implementing notification for each cell is not a good practice
https://user-images.githubusercontent.com/921863/115112999-a7083b00-9fba-11eb-9ae8-85cf93dd8507.mov
Can you provide a demo, or provide steps to reproduce bug?
I'm using this line to change tabBar color :
tabBar.theme_tintColor = ThemeColorPicker.pickerWithUIColors([.white, .black])
when app loads with first theme there's no problem.
But if app loads with second theme when i change theme to the first, tabBar border will be faded!
any help?