alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

HorizontalButtonBar does not appear to display disabled buttons with the correct colour backgrounds

Open eviltofu opened this issue 3 years ago • 0 comments

While debugging, changing the inactive background to green does not show green buttons. This means the inactive button background is not working.

            static let primaryButtonBackgroundInactive = UIColor { trait in
                return colorFrom(trait: trait, lightColor: R.color.mike()!, darkColor: R.color.green()!)
            }
            static let secondaryButtonBackgroundInactive = UIColor { trait in
                return colorFrom(trait: trait, lightColor: R.color.mike()!, darkColor: R.color.green()!)
            }

Simulator Screen Shot - iPhone 14 Pro - 2022-12-04 at 09 21 33 copy

Button is disabled but the background image does not appear to be set correctly.

image

eviltofu avatar Dec 04 '22 01:12 eviltofu