Skip to content

Commit

Permalink
Merge pull request #255 from SoriUR/fix/bgDefaultColor
Browse files Browse the repository at this point in the history
Fix item bgDefaultColor
  • Loading branch information
0ber authored Jun 12, 2019
2 parents d5405cf + 9ddd20e commit 8a0a3db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ open class RAMAnimatedTabBarController: UITabBarController {
let deselectItem = items[selectedIndex]

let containerPrevious: UIView = deselectItem.iconView!.icon.superview!
containerPrevious.backgroundColor = items[currentIndex].bgDefaultColor
containerPrevious.backgroundColor = items[selectedIndex].bgDefaultColor

deselectItem.deselectAnimation()

Expand Down

0 comments on commit 8a0a3db

Please sign in to comment.